AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
An operations team uses AWS CDK to define infrastructure. A new stack creates an IAM policy that grants s3:PutObject to * and opens TCP 22 from 0.0.0.0/0 on a security group. Company policy requires that any CI/CD deployment containing permission-broadening or other security-sensitive changes must halt automatically so a security engineer can review the change set. Which CDK deployment configuration satisfies this requirement?
Add the --force flag to cdk deploy so the pipeline prompts for confirmation before applying IAM or networking changes.
Run cdk deploy --no-execute to always create but never execute the CloudFormation change set until it is approved manually.
Bootstrap the target account with cdk bootstrap --trusted-accounts <pipeline_account> to block deployments that modify security settings.
Run cdk deploy --require-approval broadening so the command fails in the pipeline whenever security-sensitive changes are detected.
The CDK CLI can detect security-sensitive changes-such as new IAM resources or rules that broaden network access-during cdk deploy. When the command is run with --require-approval broadening, it will prompt for confirmation only when such permission-broadening changes are present. In a non-interactive CI/CD pipeline the prompt cannot be answered, so the CLI exits with a non-zero code, automatically stopping the deployment and allowing a manual review.
Using --no-execute always halts execution, even for harmless updates, creating unnecessary manual work. Bootstrapping with --trusted-accounts only controls who can publish assets and does not enforce change approvals. The --force flag disables all approval prompts, the exact opposite of the requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does '--require-approval broadening' do in AWS CDK?
Open an interactive chat with Bash
What is the purpose of 'cdk bootstrap --trusted-accounts'?
Open an interactive chat with Bash
Why shouldn't '--no-execute' be used for this requirement?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .