Hard1 markMultiple Choice
Domain 2.1: Deployment StrategyDeploymentCloudFormationSecurity

AWS SAP-C02 · Question 24 · Domain 2.1: Deployment Strategy

A company requires that all infrastructure deployments are scanned for security vulnerabilities and compliance violations before being provisioned in AWS. They use AWS CloudFormation. How can this be automated in their CI/CD pipeline?

Answer options:

A.

Use AWS Config rules to evaluate the resources after deployment.

B.

Integrate AWS CloudFormation Guard in the pipeline to evaluate templates against policy rules before deployment.

C.

Use Amazon Inspector to scan the CloudFormation templates.

D.

Use AWS Trusted Advisor to block non-compliant deployments.

How to approach this question

Look for the tool designed specifically for pre-deployment CloudFormation scanning.

Full Answer

B.Integrate AWS CloudFormation Guard in the pipeline to evaluate templates against policy rules before deployment.✓ Correct
Integrate AWS CloudFormation Guard in the pipeline to evaluate templates against policy rules before deployment.
AWS CloudFormation Guard is a policy-as-code evaluation tool that checks CloudFormation templates for compliance prior to deployment.

Common mistakes

Choosing AWS Config, which evaluates resources after they are provisioned.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam