Courseiva

SOA-C02 · topic practice

Deployment, Provisioning, and Automation practice questions

This domain covers provisioning and automating AWS infrastructure: CloudFormation templates and stacks, Elastic Beanstalk, EC2 Auto Scaling, launch templates, and deployment strategies like blue/green and rolling updates. Questions present operational scenarios where you must choose the right automation service, prevent destructive stack updates, and troubleshoot failed deployments using console, CLI, and CloudFormation change sets.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Deployment, Provisioning, and Automation

What the exam tests

What to know about Deployment, Provisioning, and Automation

Be able to author and update CloudFormation templates safely, configure Auto Scaling with launch templates and lifecycle hooks, and select the correct deployment strategy for Elastic Beanstalk or blue/green releases. The single most important thing: predict whether a stack update replaces or retains a resource before applying it.

CloudFormation stack updates, change sets, and DeletionPolicy/UpdateReplacePolicy to protect stateful resources

EC2 Auto Scaling groups, launch templates, lifecycle hooks, and scaling policies behind an ALB

Elastic Beanstalk environments, deployment policies, and configuration via .ebextensions and saved configurations

AWS Systems Manager documents, Run Command, and Parameter Store for automated instance configuration

Watch out for

Common Deployment, Provisioning, and Automation exam traps

  • ▸Assuming a CloudFormation update is safe: property changes can trigger resource replacement and data loss without a retained DeletionPolicy or snapshot.
  • ▸Forgetting that launch template or launch configuration changes do not automatically update existing instances; an instance refresh or scaling event is required.
  • ▸Confusing Elastic Beanstalk deployment policies (all-at-once, rolling, immutable, blue/green) and picking one that causes downtime or fails rollback.

Practice set

Deployment, Provisioning, and Automation questions

20 questions · select your answer, then reveal the explanation

A company uses AWS Systems Manager Patch Manager to automate patching of Amazon EC2 instances. The SysOps administrator needs to configure a maintenance window that will patch instances on the second Tuesday of every month at 2:00 AM. The administrator wants to ensure that patches are automatically applied but reboots are only performed if required. Which combination of configurations should the administrator use?

A company uses AWS CodeDeploy to deploy applications to Amazon EC2 instances. The SysOps administrator wants to deploy a new version of the application by first shifting 10% of traffic to the new version, monitoring for errors, and then after manual approval, shifting the remaining 90%. Which deployment configuration should be used?

A company uses AWS CodeDeploy to deploy a new version of a web application to a fleet of Amazon EC2 instances. The SysOps administrator wants to shift 10% of traffic to the new version first, monitor for errors, and then after manual approval, deploy to the remaining 90%. Which CodeDeploy deployment configuration should be used?

A SysOps administrator uses AWS CodeDeploy to deploy applications to Amazon EC2 instances. The administrator wants to ensure that during deployment, traffic is shifted from the original instances to the new instances incrementally in 10-minute intervals. The deployment should automatically roll back if any health check fails. Which deployment configuration should the administrator choose?

A SysOps administrator maintains an AWS CloudFormation stack for a web application. The administrator needs to update the stack to change the instance type of an Amazon EC2 instance. The administrator wants to review the changes before applying them and ensure that any updates that would replace the instance are clearly identified. Which CloudFormation feature should the administrator use?

Question 6hardmultiple choice
Review the full routing breakdown →

A SysOps administrator needs to deploy a new version of a web application using AWS Elastic Beanstalk. The deployment must achieve zero downtime and allow the administrator to validate the new version by running tests before routing production traffic to it. Which deployment policy should the administrator choose?

Match each AWS networking concept to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Isolated virtual network

IP address range within a VPC

Set of rules for traffic routing

Stateful instance-level firewall

Stateless subnet-level firewall

A company is using AWS CloudFormation to manage its infrastructure. A stack update fails because a change set includes a modification to an RDS database that triggers a replacement. The engineer needs to allow updates that may cause a replacement but wants to be warned first. What should the engineer do?

A SysOps administrator needs to deploy an application to a set of EC2 instances in an Auto Scaling group. The deployment must be performed in batches, with each batch health-checked before proceeding. Which AWS CodeDeploy deployment configuration should be used?

A company has a mission-critical application running on EC2 instances in an Auto Scaling group. The application stores state locally on the instance. The company wants to update the application to a new version with minimal downtime. The update requires a change to the instance configuration. What deployment strategy should be used?

A SysOps administrator is troubleshooting a slow deployment with AWS CloudFormation. The stack update is taking a long time because it is waiting for a resource to be created. Which TWO CloudFormation features can help speed up the deployment?

A SysOps administrator is deploying a new version of an application using AWS CodeDeploy. The deployment to an Auto Scaling group fails, and the instances are rolled back. What is the most likely reason for the failure?

A company is deploying a serverless application using AWS SAM. The SysOps administrator wants to automate the build and deployment process whenever code is pushed to the main branch of an AWS CodeCommit repository. Which service should be used to trigger the pipeline?

An organization is using AWS CodeDeploy with a blue/green deployment configuration for an EC2/On-Premises compute platform. During a deployment, the new instances pass all health checks, but the old instances are not terminated after the deployment completes. What is the most likely cause?

A SysOps administrator is designing an automated deployment pipeline using AWS CodePipeline. The pipeline must include a manual approval step before deploying to production. Which TWO actions are required to implement this?

A company uses AWS CloudFormation to deploy a three-tier web application. The template includes an EC2 instance, an RDS database, and an Application Load Balancer. The SysOps administrator wants to ensure that the database is not replaced during an update if the administrator accidentally changes a property that requires replacement. Which THREE actions should the administrator take?

A SysOps administrator creates an IAM policy that grants s3:PutObject permission to the bucket 'my-bucket' (arn:aws:s3:::my-bucket) and attaches it to an IAM role used by an application. The application needs to upload objects to a subfolder named 'uploads/' in the bucket. The uploads fail with an access denied error. What is the most likely cause?

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:PutObject",
        "s3:DeleteObject"
      ],
      "Resource": "arn:aws:s3:::my-bucket/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::my-bucket"
    }
  ]
}

A company uses AWS CloudFormation to deploy EC2 instances. The stack creation fails with the error 'Resource creation cancelled' after 20 minutes. What is the most likely cause?

A SysOps administrator is using AWS CodeDeploy to deploy an application to an Auto Scaling group. The deployment fails with the error 'The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.' The deployment group has a minimum of 2 healthy instances. What should the administrator check FIRST?

A company uses AWS CloudFormation to manage infrastructure. The administrator wants to update a stack that contains an RDS DB instance. The update requires replacing the DB instance. What should the administrator do to minimize downtime?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Deployment, Provisioning, and Automation sessions

Start a Deployment, Provisioning, and Automation only practice session

Every question in these sessions is drawn from the Deployment, Provisioning, and Automation domain — nothing else.

Related practice questions

Related SOA-C02 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the SOA-C02 exam test about Deployment, Provisioning, and Automation?
Be able to author and update CloudFormation templates safely, configure Auto Scaling with launch templates and lifecycle hooks, and select the correct deployment strategy for Elastic Beanstalk or blue/green releases. The single most important thing: predict whether a stack update replaces or retains a resource before applying it.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Deployment, Provisioning, and Automation questions in a focused session?
Yes — the session launcher on this page draws every question from the Deployment, Provisioning, and Automation domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other SOA-C02 topics?
Use the topic links above to move to related areas, or go back to the SOA-C02 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the SOA-C02 exam covers. They are not copied from any real exam or dump site.