AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 21
Question 200
The team has omitted the measure to publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. It operates in this setting: A Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. Which resulting risk is MOST direct?
- Hot-patching production instances can leave mixed unknown versions after partial failures.
- A flawed new task definition can remove healthy serving capacity before error rates are measured.
- A shared application defect may take down both production Regions simultaneously.
- A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once.
Explanation
Correct Answer
D:The omitted control leaves this direct failure exposure: A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once. This follows from the specific situation: A Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. The proposed safeguard would be to publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. The governing engineering reason is that lambda canary deployments should expose a small share of requests before promoting a new immutable version. A test would check that a controlled release routes a measured small percentage to the new version and returns to the previous alias on alarm.
Incorrect Answers
A:This failure could arise in a related but different scenario: A stateless EC2 service is patched in place and instances drift to inconsistent package versions over time. There the appropriate mitigation is to bake a versioned AMI and replace Auto Scaling group instances through a controlled instance refresh. The current environment is specifically a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. Its omitted safeguard creates the more direct consequence: A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once.
B:This failure could arise in a related but different scenario: An Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. There the appropriate mitigation is to use a supported ECS blue/green deployment strategy with CodeDeploy, target groups and application health validation. The current environment is specifically a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. Its omitted safeguard creates the more direct consequence: A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once.
C:This failure could arise in a related but different scenario: An application is deployed in two AWS Regions and the team switches global traffic to both new versions before validating either Region. There the appropriate mitigation is to stage regional releases with explicit health gates and controlled Route 53 or front-door traffic transitions. The current environment is specifically a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. Its omitted safeguard creates the more direct consequence: A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once.
Question 201
A team proposes this change: Implement lifecycle hook health validation and fail the deployment when required readiness checks do not pass. The environment is: A CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. Which AWS engineering principle most directly supports the proposal?
- Deployment hooks must verify service readiness rather than simply report that a startup command returned.
- Blue/green delivery isolates the candidate environment and permits traffic rollback without altering the old fleet.
- Kubernetes rollouts require readiness-aware traffic eligibility, not just a container that has started.
- Lambda canary deployments should expose a small share of requests before promoting a new immutable version.
Explanation
Correct Answer
A:The central principle is that deployment hooks must verify service readiness rather than simply report that a startup command returned. It supports the decision to implement lifecycle hook health validation and fail the deployment when required readiness checks do not pass. because the workload problem is: A CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. The consequence of ignoring the principle is: An unhealthy release can be judged successful while its customer-facing endpoint remains unavailable. The design can be tested by confirming that an induced dependency failure causes the lifecycle check to fail and prevents traffic promotion.
Incorrect Answers
B:This principle concerns the different situation in which a web application on EC2 requires low-risk production deployment with traffic shifting and quick return to the old fleet. It explains the alternative control to use CodeDeploy blue/green deployment with separate target groups and validated Application Load Balancer traffic switching. For the present workload, a CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. the design rationale is instead that deployment hooks must verify service readiness rather than simply report that a startup command returned.
C:This principle concerns the different situation in which an EKS Deployment replaces pods that are not ready, causing intermittent 503 responses at the ingress. It explains the alternative control to configure readiness probes and controlled rolling-update availability settings before routing requests to new pods. For the present workload, a CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. the design rationale is instead that deployment hooks must verify service readiness rather than simply report that a startup command returned.
D:This principle concerns the different situation in which a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. It explains the alternative control to publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. For the present workload, a CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. the design rationale is instead that deployment hooks must verify service readiness rather than simply report that a startup command returned.
Question 202
An AWS DevOps engineer must address this situation: An EC2 application suffers memory exhaustion, but its team monitors only default CPU utilization and instance-status metrics. Which implementation choice BEST meets the main operational requirement?
- Define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls.
- Install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics.
- Instrument supported distributed tracing such as AWS X-Ray and propagate request context across service boundaries.
- Create an appropriate CloudWatch Logs metric filter for the structured failure events and alarm on the resulting metric.
Explanation
Correct Answer
B:This response directly addresses the stated requirement: Install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics. The relevant technical mechanism is that not every guest OS health metric is supplied automatically by standard EC2 CloudWatch monitoring. Without this design, critical memory pressure can remain invisible until the application is terminated or becomes unresponsive. An operational acceptance check should confirm that a controlled memory stress test increases the expected custom metric and fires the configured warning threshold.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A log group stores debug events indefinitely and continually increases costs while security retention requirements are finite. In that situation the corresponding response would be to define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls. It does not directly mitigate the current failure mode, where critical memory pressure can remain invisible until the application is terminated or becomes unresponsive. The current requirement instead calls for install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics.
C:This design is appropriate for another AWS operational requirement: A serverless API invokes several Lambda functions and downstream services, but operators cannot correlate a failed request end-to-end. In that situation the corresponding response would be to instrument supported distributed tracing such as AWS X-Ray and propagate request context across service boundaries. It does not directly mitigate the current failure mode, where critical memory pressure can remain invisible until the application is terminated or becomes unresponsive. The current requirement instead calls for install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics.
D:This design is appropriate for another AWS operational requirement: A service logs application-level payment failures but the dashboard only has raw text with no numeric failure metric. In that situation the corresponding response would be to create an appropriate CloudWatch Logs metric filter for the structured failure events and alarm on the resulting metric. It does not directly mitigate the current failure mode, where critical memory pressure can remain invisible until the application is terminated or becomes unresponsive. The current requirement instead calls for install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics.
Question 203
An AWS DevOps engineer must address this situation: A patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Which implementation choice BEST meets the main operational requirement?
- Use AWS AppConfig deployment strategies and validators with monitors to roll out configuration changes gradually.
- Manage approved automation documents through version control, least-privilege execution and logged Systems Manager operations.
- Enable Systems Manager Inventory collection with suitable agent coverage and central reporting.
- Build a versioned Systems Manager Automation document with explicit steps, constraints and approvals.
Explanation
Correct Answer
C:This response directly addresses the stated requirement: Enable Systems Manager Inventory collection with suitable agent coverage and central reporting. The relevant technical mechanism is that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions. Without this design, unsupported packages may remain unknown on instances outside the manual spreadsheet. An operational acceptance check should confirm that inventory queries identify target package versions across the expected managed node fleet.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. In that situation the corresponding response would be to use AWS AppConfig deployment strategies and validators with monitors to roll out configuration changes gradually. It does not directly mitigate the current failure mode, where unsupported packages may remain unknown on instances outside the manual spreadsheet. The current requirement instead calls for enable Systems Manager Inventory collection with suitable agent coverage and central reporting.
B:This design is appropriate for another AWS operational requirement: Operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. In that situation the corresponding response would be to manage approved automation documents through version control, least-privilege execution and logged Systems Manager operations. It does not directly mitigate the current failure mode, where unsupported packages may remain unknown on instances outside the manual spreadsheet. The current requirement instead calls for enable Systems Manager Inventory collection with suitable agent coverage and central reporting.
D:This design is appropriate for another AWS operational requirement: A recurring operations task requires several AWS API steps and human review, but staff execute commands in different orders. In that situation the corresponding response would be to build a versioned Systems Manager Automation document with explicit steps, constraints and approvals. It does not directly mitigate the current failure mode, where unsupported packages may remain unknown on instances outside the manual spreadsheet. The current requirement instead calls for enable Systems Manager Inventory collection with suitable agent coverage and central reporting.
Question 204
The team has omitted the measure to apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions. It operates in this setting: An account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. Which resulting risk is MOST direct?
- Copied static policies may accidentally authorize cross-tenant data access as tenancy expands.
- A service can have apparent IAM permission yet fail at the resource or encryption authorization boundary.
- A stolen identity credential may authorize powerful emergency actions without detection or review.
- Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction.
Explanation
Correct Answer
D:The omitted control leaves this direct failure exposure: Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction. This follows from the specific situation: An account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. The proposed safeguard would be to apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions. The governing engineering reason is that organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad. A test would check that a test allowed Region operation succeeds while the same prohibited Region operation is denied by the SCP.
Incorrect Answers
A:This failure could arise in a related but different scenario: Application teams deploy dozens of services needing access to distinct tenant-specific S3 prefixes, and static role policies are manually copied for each tenant. There the appropriate mitigation is to evaluate attribute-based access control with approved session or principal tags and controlled resource tags. The current environment is specifically an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. Its omitted safeguard creates the more direct consequence: Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction.
B:This failure could arise in a related but different scenario: An S3 replication service has an IAM policy allowing reads, but replication still fails because the destination bucket denies access. There the appropriate mitigation is to review identity-based and resource-based policy requirements, trust relationships and applicable KMS permissions together. The current environment is specifically an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. Its omitted safeguard creates the more direct consequence: Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction.
C:This failure could arise in a related but different scenario: A rarely used break-glass administrative role has no multi-factor authentication control and its usage is not audited. There the appropriate mitigation is to enforce suitable strong authentication for privileged human access and log emergency-role assumption. The current environment is specifically an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. Its omitted safeguard creates the more direct consequence: Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction.
Question 205
An AWS DevOps engineer must address this situation: A security auditor needs proof that a container image originated from the reviewed source commit rather than an external registry push. Which implementation choice BEST meets the main operational requirement?
- Record source revision, build execution, immutable image digest and provenance metadata during artifact publication.
- Publish versioned internal packages to AWS CodeArtifact and authorize consumers using appropriate repository policies and tokens.
- Protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies.
- Retain immutable approved deployment artifacts for the required rollback and audit period.
Explanation
Correct Answer
A:This response directly addresses the stated requirement: Record source revision, build execution, immutable image digest and provenance metadata during artifact publication. The relevant technical mechanism is that artifact provenance connects deployed bytes to the review and build process that authorized them. Without this design, an unreviewed image can be presented as the approved release when labels alone are trusted. An operational acceptance check should confirm that a deployment audit traces the running image digest to one recorded CodeBuild execution and commit.
Incorrect Answers
B:This design is appropriate for another AWS operational requirement: A multi-account build consumes shared private packages but each account independently copies libraries and loses dependency provenance. In that situation the corresponding response would be to publish versioned internal packages to AWS CodeArtifact and authorize consumers using appropriate repository policies and tokens. It does not directly mitigate the current failure mode, where an unreviewed image can be presented as the approved release when labels alone are trusted. The current requirement instead calls for record source revision, build execution, immutable image digest and provenance metadata during artifact publication.
C:This design is appropriate for another AWS operational requirement: A production account receives an artifact stored in S3 without server-side encryption or an explicit deployment read role. In that situation the corresponding response would be to protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies. It does not directly mitigate the current failure mode, where an unreviewed image can be presented as the approved release when labels alone are trusted. The current requirement instead calls for record source revision, build execution, immutable image digest and provenance metadata during artifact publication.
D:This design is appropriate for another AWS operational requirement: A pipeline deletes the artifact storage object as soon as it deploys, making an emergency rollback depend on recompiling source. In that situation the corresponding response would be to retain immutable approved deployment artifacts for the required rollback and audit period. It does not directly mitigate the current failure mode, where an unreviewed image can be presented as the approved release when labels alone are trusted. The current requirement instead calls for record source revision, build execution, immutable image digest and provenance metadata during artifact publication.
Question 206
A team proposes this change: Trigger a versioned Systems Manager Automation runbook using EventBridge or an appropriate alarm action. The environment is: A failed application-health alarm should restart a known service, but the team has no common validated response procedure. Which AWS engineering principle most directly supports the proposal?
- Automated corrective actions must follow the violating resource identity rather than broad account-wide targeting.
- Event-based remediation should execute a reviewed bounded runbook with target scoping and recorded results.
- Containment and evidence preservation should be considered before automating destructive incident-response steps.
- Event-driven automation must tolerate repeated delivery and partial failure without multiplying side effects.
Explanation
Correct Answer
B:The central principle is that event-based remediation should execute a reviewed bounded runbook with target scoping and recorded results. It supports the decision to trigger a versioned Systems Manager Automation runbook using EventBridge or an appropriate alarm action. because the workload problem is: A failed application-health alarm should restart a known service, but the team has no common validated response procedure. The consequence of ignoring the principle is: Operators can apply inconsistent fixes to the wrong instance or restart healthy workloads. The design can be tested by confirming that a targeted simulated failure runs the approved document once and records service-recovery verification.
Incorrect Answers
A:This principle concerns the different situation in which an AWS Config rule marks a prohibited public bucket setting but the proposed automation blindly changes every S3 bucket in the account. It explains the alternative control to scope Config remediation to the noncompliant resources and use approved Systems Manager Automation permissions. For the present workload, a failed application-health alarm should restart a known service, but the team has no common validated response procedure. the design rationale is instead that event-based remediation should execute a reviewed bounded runbook with target scoping and recorded results.
C:This principle concerns the different situation in which a planned security response needs to isolate an EC2 instance for investigation, but an automatic Lambda deletes the instance immediately. It explains the alternative control to use a bounded isolation runbook with incident approval and preservation of evidence before irreversible remediation. For the present workload, a failed application-health alarm should restart a known service, but the team has no common validated response procedure. the design rationale is instead that event-based remediation should execute a reviewed bounded runbook with target scoping and recorded results.
D:This principle concerns the different situation in which a CloudWatch alarm triggers a change to a shared routing rule, but a transient Lambda retry executes the route modification twice. It explains the alternative control to design idempotent response steps with controlled retries, current-state checks and compensating recovery actions. For the present workload, a failed application-health alarm should restart a known service, but the team has no common validated response procedure. the design rationale is instead that event-based remediation should execute a reviewed bounded runbook with target scoping and recorded results.
Question 207
An AWS DevOps engineer must address this situation: Security events from dozens of workload accounts must reach a central security event bus with controlled source permissions. Which implementation choice BEST meets the main operational requirement?
- Use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets.
- Match specific event source, detail type, API name and applicable resources in the EventBridge rule pattern.
- Configure cross-account EventBridge bus routing and resource policies for authorized senders and targets.
- Create EventBridge rules for relevant AWS Health events and route them to an owned incident channel.
Explanation
Correct Answer
C:This response directly addresses the stated requirement: Configure cross-account EventBridge bus routing and resource policies for authorized senders and targets. The relevant technical mechanism is that central event aggregation requires explicit trust and event-bus permission boundaries across accounts. Without this design, a member account may be unable to submit findings or an unapproved account may inject fake events. An operational acceptance check should confirm that an approved member finding reaches the central bus while an untrusted account is denied submission.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: An incident automation team wants to validate a new event rule against previously seen deployment failures rather than wait for another outage. In that situation the corresponding response would be to use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets. It does not directly mitigate the current failure mode, where a member account may be unable to submit findings or an unapproved account may inject fake events. The current requirement instead calls for configure cross-account EventBridge bus routing and resource policies for authorized senders and targets.
B:This design is appropriate for another AWS operational requirement: An EventBridge rule responds to all CloudTrail API calls and launches an expensive remediation for unrelated operations. In that situation the corresponding response would be to match specific event source, detail type, API name and applicable resources in the EventBridge rule pattern. It does not directly mitigate the current failure mode, where a member account may be unable to submit findings or an unapproved account may inject fake events. The current requirement instead calls for configure cross-account EventBridge bus routing and resource policies for authorized senders and targets.
D:This design is appropriate for another AWS operational requirement: A company relies on employees to check AWS Health dashboards to find planned service disruptions affecting production. In that situation the corresponding response would be to create EventBridge rules for relevant AWS Health events and route them to an owned incident channel. It does not directly mitigate the current failure mode, where a member account may be unable to submit findings or an unapproved account may inject fake events. The current requirement instead calls for configure cross-account EventBridge bus routing and resource policies for authorized senders and targets.
Question 208
The team has omitted the measure to use a CloudFormation stack policy and appropriate IAM permissions to restrict unintended updates to protected resources. It operates in this setting: Developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. Which resulting risk is MOST direct?
- Repeated blind retries can leave blocked stacks or cause unsafe manual edits to tracked resources.
- Developers may create unapproved public or over-privileged stacks when arbitrary resource creation is allowed.
- An uncontrolled template update can undo required access changes or preserve undocumented network exposure.
- A routine application deployment might unexpectedly modify a shared network or foundational resource.
Explanation
Correct Answer
D:The omitted control leaves this direct failure exposure: A routine application deployment might unexpectedly modify a shared network or foundational resource. This follows from the specific situation: Developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. The proposed safeguard would be to use a CloudFormation stack policy and appropriate IAM permissions to restrict unintended updates to protected resources. The governing engineering reason is that stack update protection can limit changes to critical resources in addition to identity permissions. A test would check that a simulated update of a protected resource fails while an authorized application update succeeds.
Incorrect Answers
A:This failure could arise in a related but different scenario: A CloudFormation stack fails halfway through creation, leaving developers unsure which resources were created or rolled back. There the appropriate mitigation is to use stack events and controlled failure investigation before retrying or changing rollback settings. The current environment is specifically developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. Its omitted safeguard creates the more direct consequence: A routine application deployment might unexpectedly modify a shared network or foundational resource.
B:This failure could arise in a related but different scenario: An internal platform team wants developers to provision approved infrastructure without giving them IAM administrator rights. There the appropriate mitigation is to publish reviewed CloudFormation products through AWS Service Catalog with suitable portfolios and launch constraints. The current environment is specifically developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. Its omitted safeguard creates the more direct consequence: A routine application deployment might unexpectedly modify a shared network or foundational resource.
C:This failure could arise in a related but different scenario: Operators have edited security groups in the console for a stack-managed service and deploy the original CloudFormation template again. There the appropriate mitigation is to run CloudFormation drift detection and reconcile the desired state through the authorized template and change workflow. The current environment is specifically developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. Its omitted safeguard creates the more direct consequence: A routine application deployment might unexpectedly modify a shared network or foundational resource.
Question 209
A team proposes this change: Configure source change detection to trigger a CodePipeline workflow with reviewed automated build and validation stages. The environment is: A software team manually starts releases after every merge and frequently forgets to deliver critical patches. Which AWS engineering principle most directly supports the proposal?
- Event-driven pipeline execution links approved source revisions to reproducible software delivery without human release polling.
- Cross-account continuous delivery should use short-lived role sessions and trust boundaries instead of static organization-wide credentials.
- Concurrent delivery must preserve artifact-to-version ordering so a stale execution does not replace a newer approved revision.
- Build-time secret retrieval must keep credentials out of source files and ordinary build output while permitting rotation.
Explanation
Correct Answer
A:The central principle is that event-driven pipeline execution links approved source revisions to reproducible software delivery without human release polling. It supports the decision to configure source change detection to trigger a CodePipeline workflow with reviewed automated build and validation stages. because the workload problem is: A software team manually starts releases after every merge and frequently forgets to deliver critical patches. The consequence of ignoring the principle is: Merged fixes may remain undeployed and manually assembled release packages may not match the reviewed commit. The design can be tested by confirming that a controlled commit triggers exactly the expected pipeline execution and its output records the source revision.
Incorrect Answers
B:This principle concerns the different situation in which a company deploys services into development and production AWS accounts, but the build account has permanent administrator credentials for both. It explains the alternative control to use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies. For the present workload, a software team manually starts releases after every merge and frequently forgets to deliver critical patches. the design rationale is instead that event-driven pipeline execution links approved source revisions to reproducible software delivery without human release polling.
C:This principle concerns the different situation in which multiple feature branches share one deployment stage, and an older pipeline run occasionally overwrites the newest tested build. It explains the alternative control to apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact. For the present workload, a software team manually starts releases after every merge and frequently forgets to deliver critical patches. the design rationale is instead that event-driven pipeline execution links approved source revisions to reproducible software delivery without human release polling.
D:This principle concerns the different situation in which a pipeline downloads third-party package credentials from plaintext environment variables visible to build log readers. It explains the alternative control to resolve protected build secrets at execution time through Secrets Manager or encrypted Systems Manager parameters with least-privilege roles. For the present workload, a software team manually starts releases after every merge and frequently forgets to deliver critical patches. the design rationale is instead that event-driven pipeline execution links approved source revisions to reproducible software delivery without human release polling.
Question 210
A team proposes this change: Enable Systems Manager Inventory collection with suitable agent coverage and central reporting. The environment is: A patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Which AWS engineering principle most directly supports the proposal?
- Stateful workflows make multi-step operational automation observable and allow controlled retries and compensation.
- Automated fleet inventory establishes a current source of software and configuration evidence for patch decisions.
- Compliance detection and controlled remediation are separate components that can be combined for scalable governance.
- Operational script reproducibility and identity accountability are prerequisites for safe fleet automation.
Explanation
Correct Answer
B:The central principle is that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions. It supports the decision to enable Systems Manager Inventory collection with suitable agent coverage and central reporting. because the workload problem is: A patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. The consequence of ignoring the principle is: Unsupported packages may remain unknown on instances outside the manual spreadsheet. The design can be tested by confirming that inventory queries identify target package versions across the expected managed node fleet.
Incorrect Answers
A:This principle concerns the different situation in which a remediation Lambda invokes several dependent services, but transient failures cause duplicate deletions and no reliable execution history. It explains the alternative control to use AWS Step Functions to orchestrate retries, state transitions, idempotent actions and failure paths. For the present workload, a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. the design rationale is instead that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions.
C:This principle concerns the different situation in which aWS Config reports a noncompliant S3 setting but the security team fixes each bucket only after weekly ticket review. It explains the alternative control to connect an approved AWS Config remediation to a scoped Systems Manager Automation action with monitoring and exceptions. For the present workload, a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. the design rationale is instead that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions.
D:This principle concerns the different situation in which operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. It explains the alternative control to manage approved automation documents through version control, least-privilege execution and logged Systems Manager operations. For the present workload, a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. the design rationale is instead that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions.