AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A company operates dozens of AWS accounts in AWS Organizations. Security requires that any new security group rule that permits 0.0.0.0/0 on TCP port 22 be removed within seconds of creation. The CloudOps engineer must build an agent-less, event-driven solution that can be maintained centrally in a shared services account while minimizing custom code and ongoing operations. Which approach meets these requirements?
Configure the AWS Config managed rule for unrestricted SSH in every account and attach an AWS Systems Manager Automation document that revokes the offending rule when the evaluation is non-compliant.
Enable AWS CloudTrail Lake in every account and schedule a daily SQL query with Amazon EventBridge Scheduler that invokes an AWS Lambda function to remove any discovered non-compliant rules.
Create an Amazon EventBridge rule in each workload account that matches the AWS API call "AuthorizeSecurityGroupIngress" and sends the event to a centrally shared event bus. In the shared services account, invoke an AWS Lambda function that deletes the non-compliant rule.
Launch a small, always-running EC2 instance in each account that polls DescribeSecurityGroups every minute with a script and removes any rule that allows 0.0.0.0/0 on port 22.
An EventBridge rule can match the CloudTrail API event "AuthorizeSecurityGroupIngress", delivering it to a central event bus almost immediately. A resource-based policy on that bus allows events from all member accounts. The centrally managed Lambda function runs only when triggered, needs no agents, and can revoke the offending rule within seconds. AWS Config evaluations are periodic and may take several minutes; CloudTrail Lake queries run on a schedule, not in real time; a polling EC2 instance adds unnecessary cost, maintenance, and single-point-of-failure risk.
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 is Amazon EventBridge?
Open an interactive chat with Bash
How does a Lambda function help in managing security groups?
Open an interactive chat with Bash
What is the purpose of a resource-based policy on an EventBridge event bus?
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 .