Learning
Learning
Loading practice session...
AWS Certified Solutions Architect – Professional · Exam domain
54 practice questions in this domain. AI-tutored explanations for every answer.
Sign in to practice all 54 questions with progress tracking and AI explanations.
1. A DevOps team uses AWS OpsWorks Stacks to manage a multi-tier application. They need custom configuration to run automatically whenever a new instance joins or leaves a layer. Which OpsWorks Lifecycle Event should their Chef recipe be assigned to?
Explanation
The Configure event fires on every instance in the stack when any instance changes state (joins/leaves), making it the correct hook for dynamic topology updates. Setup only fires on the new instance itself at boot time.
2. An OpsWorks Stacks layer runs a Node.js application. An engineer wants to ensure that when an instance in the layer is stopped gracefully, all active connections are drained before the process exits. To which Lifecycle Event should this custom Chef recipe be attached?
Explanation
The Shutdown lifecycle event fires on an instance when it receives a stop command, giving Chef recipes a window to drain connections and perform cleanup before the instance is actually terminated.
3. A retail company needs to deploy a critical application update to Elastic Beanstalk with zero downtime and the ability to instantly roll back to the previous version if issues arise. The team can afford to run double the infrastructure temporarily. Which deployment policy best meets these requirements?
Explanation
Immutable deployments create an entirely new Auto Scaling group with new instances running the new version. If anything fails, Elastic Beanstalk terminates the new group instantly, leaving the original instances untouched for zero-downtime rollback.
4. A development team is deploying an image-processing pipeline. A web front-end receives upload requests, while a back-end component processes jobs asynchronously from a queue. How should these components be deployed in Elastic Beanstalk?
Explanation
Elastic Beanstalk's Worker tier is purpose-built for background processing: a built-in daemon pulls messages from SQS and delivers them to the application, eliminating the need to manage queue polling infrastructure manually.
5. A security team requires that every container task in their ECS Fargate cluster have its own isolated network interface so that security groups can be applied at the individual task level. Which network mode satisfies this requirement, and what does Fargate assign to each task?
Explanation
Fargate exclusively supports awsvpc network mode, which provisions a dedicated ENI and VPC-native IP address per task. This enables task-level security group enforcement and fine-grained network isolation without sharing host networking.
Practice all 54+ questions in this domain
Start free practice →