AWS Certified Security – Specialty — Question 239

A company uses AWS CodePipeline for its software builds. Company policy mandates that code must be deployed to the staging environment before it is deployed to the production environment. The company needs to implement monitoring and alerting to detect when a CodePipeline pipeline is used to deploy code to production without the code first being deployed to staging.
What should a security engineer do to meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because enabling AWS Config recording and creating a custom rule allows for compliance checking of the pipeline deployment process, ensuring that code goes through staging before production. Options A and D do not specifically enforce the staging requirement, and B only suggests modeling without monitoring or alerting for compliance.