Your organization wants to implement 'CloudFormation Macros' to automatically inject common security groups into every template deployed in the account. Which AWS service is used to host the logic for these macros?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: AWS Lambda

CloudFormation Macros use Lambda functions to process templates and perform transformations before the stack is created or updated....

📋Part of AWS Certified DevOps Engineer – Professional (DOP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

Your organization wants to implement 'CloudFormation Macros' to automatically inject common security groups into every template deployed in the account. Which AWS service is used to host the logic for these macros?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

AWS Lambda

Why This Answer Is Correct

CloudFormation Macros use Lambda functions to process templates and perform transformations before the stack is created or updated.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified DevOps Engineer – Professional (DOP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.