For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 6Question 24
    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
    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.
    Question 23All questionsQuestion 25

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise requires highly available hybrid connectivity between its on-premises data ce...HardQ02An organization has 50 VPCs across two AWS Regions connected via Transit Gateways (TGW). The TGWs...HardQ03A company uses AWS Organizations. The network team wants to share a central Transit Gateway (TGW)...MediumQ04An enterprise has on-premises data centers in the US and Europe. They want to use the AWS global ...HardQ05A company requires that all API calls to Amazon S3 from their VPC must not traverse the public in...Medium
    View all 75 questions →