A company requires security approval before any application changes are deployed to production using AWS CodePipeline, and the approval must be recorded and retained. Which combination of actions satisfies these requirements? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create a CloudTrail trail to deliver logs to an S3 bucket for retained audit records., Add a CodePipeline manual approval action before deployment and create an IAM policy that grants the security team permission to approve manual approval stages..
Why this is the answer
To meet the requirement for security approval before deployment, a CodePipeline manual approval action is necessary. This action pauses the pipeline, awaiting explicit approval. Granting the security team an IAM policy with permissions to approve manual approval stages ensures only authorized personnel can proceed with deployments. For recording and retaining these approvals, AWS CloudTrail is the appropriate service. CloudTrail logs API calls and events made within your AWS account, including the approval or rejection of manual approval actions in CodePipeline. Delivering these CloudTrail logs to an S3 bucket provides a durable and auditable record of all approval activities, satisfying the retention requirement. Configuring CodePipeline to write actions to CloudWatch Logs or S3 at the end of each stage would provide pipeline execution details but not specifically the approval event itself in an auditable format. Creating a custom action with Lambda for approval is an alternative for complex approval workflows but doesn't inherently provide the audit trail; CloudTrail is still needed for that.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed