Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 83
Question 820
A DevOps team is reviewing: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. Which TWO complementary actions should it take? Select TWO answers.
- Review transaction ordering, backup points, queue offsets and reconciliation design.
- Create an application-aware recovery sequence with replay safety and reconciled checkpoints.
- Use protected cross-account or cross-Region backups with appropriately isolated recovery roles.
- Review RDS deployment mode, client retry behavior, endpoint, RTO and current backups.
- Review agreed RPO, schedule, database logs and recovered data age.
Explanation
Correct Answers
A:Review transaction ordering, backup points, queue offsets and reconciliation design. This is a required diagnostic evidence step for the stated situation: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. The complementary correct action is: Create an application-aware recovery sequence with replay safety and reconciled checkpoints. Both follow the principle: Recovery needs application consistency and coordinated replay across dependent state.
B:Create an application-aware recovery sequence with replay safety and reconciled checkpoints. This is a required controlled engineering action for the stated situation: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. The complementary correct action is: Review transaction ordering, backup points, queue offsets and reconciliation design. Both follow the principle: Recovery needs application consistency and coordinated replay across dependent state.
Incorrect Answers
C:Use protected cross-account or cross-Region backups with appropriately isolated recovery roles. This is suitable for another situation: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. In this case, engineers instead need the paired investigation (Review transaction ordering, backup points, queue offsets and reconciliation design.) and design change (Create an application-aware recovery sequence with replay safety and reconciled checkpoints.). These two steps address: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.
D:Review RDS deployment mode, client retry behavior, endpoint, RTO and current backups. This is suitable for another situation: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. In this case, engineers instead need the paired investigation (Review transaction ordering, backup points, queue offsets and reconciliation design.) and design change (Create an application-aware recovery sequence with replay safety and reconciled checkpoints.). These two steps address: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.
E:Review agreed RPO, schedule, database logs and recovered data age. This is suitable for another situation: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. In this case, engineers instead need the paired investigation (Review transaction ordering, backup points, queue offsets and reconciliation design.) and design change (Create an application-aware recovery sequence with replay safety and reconciled checkpoints.). These two steps address: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.
Question 821
Before changing production, engineers find: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. Which investigation should the engineer perform FIRST?
- Check CloudFormation import support, logical IDs, actual configuration and queue identifiers.
- Review duplicated templates, parameter contracts, dependencies and current deviations.
- Examine event identifiers, retry behavior, transactional storage and duplicate records.
- Inspect Ref and GetAtt relationships, DependsOn needs and function creation errors.
Explanation
Correct Answer
D:Inspect Ref and GetAtt relationships, DependsOn needs and function creation errors. The governing principle is: IaC must express resource relationships and wait for required dependencies before use. The next controlled engineering decision is: Model the dependency in the stack and ensure required resources exist before dependent operations.
Incorrect Answers
A:Check CloudFormation import support, logical IDs, actual configuration and queue identifiers. This instead addresses a different case: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better investigation is: Inspect Ref and GetAtt relationships, DependsOn needs and function creation errors. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
B:Review duplicated templates, parameter contracts, dependencies and current deviations. This instead addresses a different case: Five application teams copy and edit the same network subnet definitions in separate CloudFormation stacks, causing inconsistent security controls. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better investigation is: Inspect Ref and GetAtt relationships, DependsOn needs and function creation errors. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
C:Examine event identifiers, retry behavior, transactional storage and duplicate records. This instead addresses a different case: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better investigation is: Inspect Ref and GetAtt relationships, DependsOn needs and function creation errors. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
Question 822
The DevOps team must resolve this scenario: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. Which engineering change is MOST appropriate?
- Use AppConfig or an approved configuration store with versioned safe rollout and validation.
- Restore authorized configuration by an approved stack update or reconcile a documented intentional change.
- Configure a suitable AWS Config rule with controlled Systems Manager automation remediation.
- Use scoped paths or separate accounts with least-privilege parameter read access.
Explanation
Correct Answer
B:Restore authorized configuration by an approved stack update or reconcile a documented intentional change. Its validation is: A repeat drift check reports consistent properties and a controlled change trail. The principle is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
Incorrect Answers
A:Use AppConfig or an approved configuration store with versioned safe rollout and validation. This instead addresses a different case: A service reads configuration directly from process environment variables, forcing a container rebuild for each feature-flag adjustment. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better engineering action is: Restore authorized configuration by an approved stack update or reconcile a documented intentional change. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
C:Configure a suitable AWS Config rule with controlled Systems Manager automation remediation. This instead addresses a different case: An application team repeatedly disables approved EBS encryption defaults and security reviews detect the drift weeks later. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better engineering action is: Restore authorized configuration by an approved stack update or reconcile a documented intentional change. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
D:Use scoped paths or separate accounts with least-privilege parameter read access. This instead addresses a different case: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better engineering action is: Restore authorized configuration by an approved stack update or reconcile a documented intentional change. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.
Question 823
The DevOps team must resolve this scenario: A disaster-recovery copy process creates unencrypted EC2 volumes from old snapshots even though the production baseline requires encryption. Which engineering change is MOST appropriate?
- Implement safe Secrets Manager rotation and compatible runtime secret refresh.
- Attach a tuned WAF web ACL with suitable rate-based or managed protections.
- Enforce default EBS encryption and approved KMS use for restore workflows.
- Restore valid DNS validation and monitor renewal before expiration.
Explanation
Correct Answer
C:Enforce default EBS encryption and approved KMS use for restore workflows. Its validation is: A test restored EBS volume is encrypted with the authorized key. The principle is: Encryption standards should apply to restored volumes and associated snapshot workflows.
Incorrect Answers
A:Implement safe Secrets Manager rotation and compatible runtime secret refresh. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (A disaster-recovery copy process creates unencrypted EC2 volumes from old snapshots even though the production baseline requires encryption.), the better engineering action is: Enforce default EBS encryption and approved KMS use for restore workflows. The deciding distinction is: Encryption standards should apply to restored volumes and associated snapshot workflows.
B:Attach a tuned WAF web ACL with suitable rate-based or managed protections. This instead addresses a different case: A public application faces high-volume abusive HTTP requests that pass the ALB security group and overwhelm login processing. For the stated situation (A disaster-recovery copy process creates unencrypted EC2 volumes from old snapshots even though the production baseline requires encryption.), the better engineering action is: Enforce default EBS encryption and approved KMS use for restore workflows. The deciding distinction is: Encryption standards should apply to restored volumes and associated snapshot workflows.
D:Restore valid DNS validation and monitor renewal before expiration. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (A disaster-recovery copy process creates unencrypted EC2 volumes from old snapshots even though the production baseline requires encryption.), the better engineering action is: Enforce default EBS encryption and approved KMS use for restore workflows. The deciding distinction is: Encryption standards should apply to restored volumes and associated snapshot workflows.
Question 824
A DevOps team is reviewing: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. Which TWO complementary actions should it take? Select TWO answers.
- Document service-impacting provider conditions and take bounded regional failover actions.
- Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors.
- Configure an appropriate SQS DLQ with alerting and governed redrive procedure.
- Inspect Auto Scaling activity history, placement errors, launch template and allowed subnets.
- Correct the execution role or ECR/network access while preserving intended image provenance.
Explanation
Correct Answers
B:Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors. This is a required diagnostic evidence step for the stated situation: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. The complementary correct action is: Correct the execution role or ECR/network access while preserving intended image provenance. Both follow the principle: Container deployment failures may result from registry authentication and network access rather than code.
E:Correct the execution role or ECR/network access while preserving intended image provenance. This is a required controlled engineering action for the stated situation: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. The complementary correct action is: Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors. Both follow the principle: Container deployment failures may result from registry authentication and network access rather than code.
Incorrect Answers
A:Document service-impacting provider conditions and take bounded regional failover actions. This is suitable for another situation: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. In this case, engineers instead need the paired investigation (Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors.) and design change (Correct the execution role or ECR/network access while preserving intended image provenance.). These two steps address: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.
C:Configure an appropriate SQS DLQ with alerting and governed redrive procedure. This is suitable for another situation: A broken message repeatedly fails an event-driven worker and blocks useful progress while on-call has no way to inspect it. In this case, engineers instead need the paired investigation (Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors.) and design change (Correct the execution role or ECR/network access while preserving intended image provenance.). These two steps address: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.
D:Inspect Auto Scaling activity history, placement errors, launch template and allowed subnets. This is suitable for another situation: An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity. In this case, engineers instead need the paired investigation (Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors.) and design change (Correct the execution role or ECR/network access while preserving intended image provenance.). These two steps address: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.
Question 825
The DevOps team must resolve this scenario: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. Which engineering change is MOST appropriate?
- Document service-impacting provider conditions and take bounded regional failover actions.
- Tune supported throttling quotas or implement client backoff and capacity planning.
- Configure an appropriate SQS DLQ with alerting and governed redrive procedure.
- Correct the specific startup configuration or image error and deploy a verified revision.
Explanation
Correct Answer
D:Correct the specific startup configuration or image error and deploy a verified revision. Its validation is: New pods become ready without repeated restarts and service traffic succeeds. The principle is: Container restarts should be diagnosed using pod events, exit reasons and application logs.
Incorrect Answers
A:Document service-impacting provider conditions and take bounded regional failover actions. This instead addresses a different case: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. For the stated situation (An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.), the better engineering action is: Correct the specific startup configuration or image error and deploy a verified revision. The deciding distinction is: Container restarts should be diagnosed using pod events, exit reasons and application logs.
B:Tune supported throttling quotas or implement client backoff and capacity planning. This instead addresses a different case: A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero. For the stated situation (An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.), the better engineering action is: Correct the specific startup configuration or image error and deploy a verified revision. The deciding distinction is: Container restarts should be diagnosed using pod events, exit reasons and application logs.
C:Configure an appropriate SQS DLQ with alerting and governed redrive procedure. This instead addresses a different case: A broken message repeatedly fails an event-driven worker and blocks useful progress while on-call has no way to inspect it. For the stated situation (An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU.), the better engineering action is: Correct the specific startup configuration or image error and deploy a verified revision. The deciding distinction is: Container restarts should be diagnosed using pod events, exit reasons and application logs.
Question 826
An AWS platform team investigates this condition: A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency. Which DevOps principle BEST explains the core problem?
- Multi-account security governance needs centralized delegated administration and aggregated visibility.
- Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
- Long-running workflows should use durable orchestration rather than a single Lambda invocation.
- Operational automation requires versioning, target control and bounded failure exposure.
Explanation
Correct Answer
D:Operational automation requires versioning, target control and bounded failure exposure. Relevant first evidence: Inspect SSM Automation document version, execution permissions, targets and rate controls. The resulting controlled response is: Create reviewed document versions with least-privilege roles and maxConcurrency/maxErrors limits.
Incorrect Answers
A:Multi-account security governance needs centralized delegated administration and aggregated visibility. This instead addresses a different case: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. For the stated situation (A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency.), the better principle is: Operational automation requires versioning, target control and bounded failure exposure. The deciding distinction is: Operational automation requires versioning, target control and bounded failure exposure.
B:Hybrid systems can be managed through supported SSM activation and scoped policies where reachable. This instead addresses a different case: A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory. For the stated situation (A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency.), the better principle is: Operational automation requires versioning, target control and bounded failure exposure. The deciding distinction is: Operational automation requires versioning, target control and bounded failure exposure.
C:Long-running workflows should use durable orchestration rather than a single Lambda invocation. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency.), the better principle is: Operational automation requires versioning, target control and bounded failure exposure. The deciding distinction is: Operational automation requires versioning, target control and bounded failure exposure.
Question 827
A DevOps team is reviewing: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records. Which TWO complementary actions should it take? Select TWO answers.
- Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.
- Keep a verifiable mapping from release to Lambda published version and restore alias on failure.
- Inspect published version ARNs, alias routing and rollback manifest.
- Review instance user data, launch template versions, AMIs and out-of-band modifications.
- Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions.
Explanation
Correct Answers
B:Keep a verifiable mapping from release to Lambda published version and restore alias on failure. This is a required controlled engineering action for the stated situation: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records. The complementary correct action is: Inspect published version ARNs, alias routing and rollback manifest. Both follow the principle: Serverless rollbacks should use immutable published versions and controlled alias revisions.
C:Inspect published version ARNs, alias routing and rollback manifest. This is a required diagnostic evidence step for the stated situation: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records. The complementary correct action is: Keep a verifiable mapping from release to Lambda published version and restore alias on failure. Both follow the principle: Serverless rollbacks should use immutable published versions and controlled alias revisions.
Incorrect Answers
A:Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. This is suitable for another situation: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. In this case, engineers instead need the paired investigation (Inspect published version ARNs, alias routing and rollback manifest.) and design change (Keep a verifiable mapping from release to Lambda published version and restore alias on failure.). These two steps address: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.
D:Review instance user data, launch template versions, AMIs and out-of-band modifications. This is suitable for another situation: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. In this case, engineers instead need the paired investigation (Inspect published version ARNs, alias routing and rollback manifest.) and design change (Keep a verifiable mapping from release to Lambda published version and restore alias on failure.). These two steps address: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.
E:Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions. This is suitable for another situation: An ECS service release must let QA validate a new task set before production traffic shifts, with rollback if alarms breach a threshold. In this case, engineers instead need the paired investigation (Inspect published version ARNs, alias routing and rollback manifest.) and design change (Keep a verifiable mapping from release to Lambda published version and restore alias on failure.). These two steps address: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.
Question 828
Before changing production, engineers find: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. Which investigation should the engineer perform FIRST?
- Review standby environment inventory, RTO, replication and scaling procedures.
- Map recovery dependencies, state transitions, approvals and rollback criteria.
- Inspect cluster endpoint, reader endpoint, replica topology and connection logic.
- Review agreed RPO, schedule, database logs and recovered data age.
Explanation
Correct Answer
B:Map recovery dependencies, state transitions, approvals and rollback criteria. The governing principle is: Disaster recovery needs repeatable orchestration and measured test evidence. The next controlled engineering decision is: Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
Incorrect Answers
A:Review standby environment inventory, RTO, replication and scaling procedures. This instead addresses a different case: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better investigation is: Map recovery dependencies, state transitions, approvals and rollback criteria. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.
C:Inspect cluster endpoint, reader endpoint, replica topology and connection logic. This instead addresses a different case: An Aurora cluster has replicas in different AZs but applications use fixed instance endpoints and never fail over to another reader. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better investigation is: Map recovery dependencies, state transitions, approvals and rollback criteria. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.
D:Review agreed RPO, schedule, database logs and recovered data age. This instead addresses a different case: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better investigation is: Map recovery dependencies, state transitions, approvals and rollback criteria. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.
Question 829
After implementing a proposed fix, the team reviews: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. Which result would BEST confirm that the risk is addressed?
- Replaying the same event does not produce a second charge.
- A new test environment provisions the function and trigger without console-only steps.
- A noncompliant test node patches during its window and reports a verifiable status.
- A selected on-premises node reports patch status through the central approved console.
Explanation
Correct Answer
C:A noncompliant test node patches during its window and reports a verifiable status. The approved action is: Schedule compliant patching through approved maintenance windows and targeted baselines. The risk principle is: Patch automation should account for maintenance schedules, baselines and operational safety.
Incorrect Answers
A:Replaying the same event does not produce a second charge. This instead addresses a different case: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. For the stated situation (A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.), the better verification is: A noncompliant test node patches during its window and reports a verifiable status. The deciding distinction is: Patch automation should account for maintenance schedules, baselines and operational safety.
B:A new test environment provisions the function and trigger without console-only steps. This instead addresses a different case: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. For the stated situation (A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.), the better verification is: A noncompliant test node patches during its window and reports a verifiable status. The deciding distinction is: Patch automation should account for maintenance schedules, baselines and operational safety.
D:A selected on-premises node reports patch status through the central approved console. This instead addresses a different case: A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory. For the stated situation (A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.), the better verification is: A noncompliant test node patches during its window and reports a verifiable status. The deciding distinction is: Patch automation should account for maintenance schedules, baselines and operational safety.
Question 830
A DevOps team is reviewing: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. Which TWO complementary actions should it take? Select TWO answers.
- Model the dependency in the stack and ensure required resources exist before dependent operations.
- Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.
- Review SSM agent registration, associations, instance profiles and compliance reporting.
- Inspect execution history, schedule ownership, IAM rights and failure destinations.
- Orchestrate tasks with Step Functions including bounded retries and catch paths.
Explanation
Correct Answers
B:Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. This is a required controlled engineering action for the stated situation: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. The complementary correct action is: Inspect execution history, schedule ownership, IAM rights and failure destinations. Both follow the principle: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
D:Inspect execution history, schedule ownership, IAM rights and failure destinations. This is a required diagnostic evidence step for the stated situation: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. The complementary correct action is: Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. Both follow the principle: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
Incorrect Answers
A:Model the dependency in the stack and ensure required resources exist before dependent operations. This is suitable for another situation: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.
C:Review SSM agent registration, associations, instance profiles and compliance reporting. This is suitable for another situation: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.
E:Orchestrate tasks with Step Functions including bounded retries and catch paths. This is suitable for another situation: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.