- A
Run drift detection on each CloudFormation stack; review the results in the Drift status panel to see which resources have MODIFIED or DELETED status
Drift detection calls AWS APIs to read the current configuration of each resource and compares it to the template. Resources with live configurations differing from the template are marked MODIFIED. Deleted resources outside the stack are marked DELETED. The results show the exact property-level differences, enabling targeted remediation.
- B
Enable AWS Config conformance packs that check CloudFormation stack compliance against desired template states
Why wrong: Config conformance packs check resources against config rules (e.g., security group open ports, IAM policy conditions). They do not compare resource attributes against a CloudFormation template definition. Drift detection is purpose-built for the template-vs-live comparison.
- C
Re-deploy all stacks with the original templates using CloudFormation update-stack to overwrite any manual changes
Why wrong: Running update-stack with an unchanged template may overwrite manual changes, but only for properties the template specifies. It is a remediation action, not a detection action. The team needs to know which resources drifted before deciding whether to remediate. Drift detection provides the discovery step.
- D
Use AWS Trusted Advisor to identify resources that have been modified outside of their originating CloudFormation stacks
Why wrong: Trusted Advisor provides cost optimization, performance, security, and fault tolerance checks. It does not compare live resource configurations against CloudFormation template definitions. Drift detection is the correct service for this.
Quick Answer
The answer is to run drift detection on each CloudFormation stack and review the results in the Drift status panel. This is correct because AWS CloudFormation drift detection directly compares the live configuration of resources—such as security group rules and IAM policies—against the stack’s original template, flagging any manual changes with a MODIFIED or DELETED status. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding that drift detection is the only native tool for identifying out-of-band changes to stack resources, and it is often contrasted with AWS Config rules, which evaluate compliance but do not compare against a specific CloudFormation template. A common trap is assuming CloudTrail or Config alone can pinpoint drift; however, only drift detection provides the exact resource-level comparison needed. Memory tip: think “Drift detects the rift”—if a resource was changed outside CloudFormation, drift detection will reveal the split between the template and reality.
SOA-C02 Practice Question: CloudFormation drift detection to identify…
This SOA-C02 practice question tests your understanding of deployment, provisioning, and automation. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: cloudFormation drift detection. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Operators have been making direct changes to AWS resources (security group rules, IAM policy modifications) that were originally created by CloudFormation stacks. The team wants to identify which stacks and specific resources have drifted from their template definitions. What is the correct tool and operation sequence?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Run drift detection on each CloudFormation stack; review the results in the Drift status panel to see which resources have MODIFIED or DELETED status
AWS CloudFormation drift detection is the correct tool because it directly compares the current state of resources in a stack (including security group rules and IAM policies) against the stack's template definitions. Running drift detection on each stack and reviewing the Drift status panel reveals which resources have been modified or deleted outside of CloudFormation, providing the exact identification the team needs.
Key principle: CloudFormation drift detection
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Run drift detection on each CloudFormation stack; review the results in the Drift status panel to see which resources have MODIFIED or DELETED status
Why this is correct
Drift detection calls AWS APIs to read the current configuration of each resource and compares it to the template. Resources with live configurations differing from the template are marked MODIFIED. Deleted resources outside the stack are marked DELETED. The results show the exact property-level differences, enabling targeted remediation.
Related concept
CloudFormation drift detection
- ✗
Enable AWS Config conformance packs that check CloudFormation stack compliance against desired template states
Why it's wrong here
Config conformance packs check resources against config rules (e.g., security group open ports, IAM policy conditions). They do not compare resource attributes against a CloudFormation template definition. Drift detection is purpose-built for the template-vs-live comparison.
- ✗
Re-deploy all stacks with the original templates using CloudFormation update-stack to overwrite any manual changes
Why it's wrong here
Running update-stack with an unchanged template may overwrite manual changes, but only for properties the template specifies. It is a remediation action, not a detection action. The team needs to know which resources drifted before deciding whether to remediate. Drift detection provides the discovery step.
- ✗
Use AWS Trusted Advisor to identify resources that have been modified outside of their originating CloudFormation stacks
Why it's wrong here
Trusted Advisor provides cost optimization, performance, security, and fault tolerance checks. It does not compare live resource configurations against CloudFormation template definitions. Drift detection is the correct service for this.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may confuse drift detection with compliance checks (AWS Config) or remediation actions (update-stack), but the question specifically asks for identification of drifted stacks and resources, not remediation or compliance evaluation.
Detailed technical explanation
How to think about this question
Drift detection works by calling the underlying service APIs (e.g., EC2 DescribeSecurityGroups for security group rules, IAM GetPolicyVersion for policies) to fetch the current resource configuration and comparing it to the resource properties defined in the CloudFormation template. A subtle behavior is that drift detection only reports on resources that support drift detection (e.g., AWS::EC2::SecurityGroup and AWS::IAM::Policy do, but some resources like AWS::Lambda::Version do not). In a real-world scenario, if an operator manually adds an inbound rule to a security group, drift detection will flag that security group as MODIFIED, allowing the team to pinpoint the exact stack and resource before deciding to remediate.
KKey Concepts to Remember
- CloudFormation drift detection
- resource configuration drift
- DetectStackDrift
- drift status
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
CloudFormation drift detection
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Review cloudFormation drift detection, then practise related SOA-C02 questions on the same topic to reinforce the concept.
- →
Deployment, Provisioning, and Automation — study guide chapter
Learn the concepts, then practise the questions
- →
Deployment, Provisioning, and Automation practice questions
Targeted practice on this topic area only
- →
All SOA-C02 questions
1,546 questions across all exam domains
- →
AWS Certified SysOps Administrator Associate SOA-C02 study guide
Full concept coverage aligned to exam objectives
- →
SOA-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SOA-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Monitoring, Logging, and Remediation practice questions
Practise SOA-C02 questions linked to Monitoring, Logging, and Remediation.
Reliability and Business Continuity practice questions
Practise SOA-C02 questions linked to Reliability and Business Continuity.
Deployment, Provisioning, and Automation practice questions
Practise SOA-C02 questions linked to Deployment, Provisioning, and Automation.
Security and Compliance practice questions
Practise SOA-C02 questions linked to Security and Compliance.
Networking and Content Delivery practice questions
Practise SOA-C02 questions linked to Networking and Content Delivery.
Cost and Performance Optimization practice questions
Practise SOA-C02 questions linked to Cost and Performance Optimization.
SOA-C02 fundamentals practice questions
Practise SOA-C02 questions linked to SOA-C02 fundamentals.
SOA-C02 scenario practice questions
Practise SOA-C02 questions linked to SOA-C02 scenario.
SOA-C02 troubleshooting practice questions
Practise SOA-C02 questions linked to SOA-C02 troubleshooting.
Practice this exam
Start a free SOA-C02 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SOA-C02 question test?
Deployment, Provisioning, and Automation — This question tests Deployment, Provisioning, and Automation — CloudFormation drift detection.
What is the correct answer to this question?
The correct answer is: Run drift detection on each CloudFormation stack; review the results in the Drift status panel to see which resources have MODIFIED or DELETED status — AWS CloudFormation drift detection is the correct tool because it directly compares the current state of resources in a stack (including security group rules and IAM policies) against the stack's template definitions. Running drift detection on each stack and reviewing the Drift status panel reveals which resources have been modified or deleted outside of CloudFormation, providing the exact identification the team needs.
What should I do if I get this SOA-C02 question wrong?
Review cloudFormation drift detection, then practise related SOA-C02 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
CloudFormation drift detection
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More SOA-C02 practice questions
- A company uses an Amazon DynamoDB table with on-demand capacity mode. The table handles a workload with a steady baselin…
- A company uses Amazon CloudWatch Logs to store application logs. The SysOps administrator needs to count the occurrences…
- A SysOps administrator needs to monitor the CPU utilization of an Amazon EC2 instance and send an alert when it exceeds…
- A SysOps administrator needs to monitor the CPU utilization of an Amazon EC2 instance fleet and send an alert when the a…
- A company's security policy requires that all Amazon S3 buckets must have server-side encryption enabled. The SysOps adm…
- A SysOps administrator uses AWS CloudFormation to deploy a stack that includes an Amazon EC2 instance. The administrator…
Last reviewed: Jun 11, 2026
This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.