Curated

Operational Excellence and Automation (5.1–5.4)

0 votes

Questions60

  1. Question 51

    Operational Excellence and Automation

    An operations team must apply an approved patch baseline to tagged EC2 instances every Sunday during a defined maintenance period. Which configuration provides scheduled execution and controls when new patching tasks can start?

    Show the answer

    Correct answerC. Create a Systems Manager maintenance window with duration, cutoff, targets, and a patching task.

    AWhy not this: An instance-start association does not establish the required Sunday maintenance period or task-start cutoff.

    BWhy not this: Low CPU utilization does not establish an approved maintenance schedule or cutoff.

    CWhy this is right: A maintenance window schedules patching and stops scheduling new tasks when its cutoff is reached.

    DWhy not this: A compliance-change trigger is event-driven rather than restricted to the specified recurring maintenance period.

    Systems Manager Maintenance Windows provides a recurring schedule, targets, tasks, duration, and a cutoff for starting new tasks. A State Manager association triggered at instance startup does not enforce the required weekly maintenance period.

    Open this question
  2. Question 52

    Operational Excellence and Automation

    An asynchronously invoked Lambda function processes time-sensitive events and occasionally returns errors. Events must expire after five minutes, function errors must receive no retries, and discarded events must reach SQS with request and response details; which configuration meets these requirements?

    Show the answer

    Correct answerA. Set maximum event age to 300 seconds, disable retries, and configure an SQS failure destination.

    AWhy this is right: These settings bound event age, disable function-error retries, and send discarded invocation records to SQS.

    BWhy not this: Function timeout does not limit event age, and a dead-letter queue does not provide the full destination invocation record.

    CWhy not this: Function timeout limits one execution, not the age of an event waiting for asynchronous processing.

    DWhy not this: Allowing two function-error retries violates the requirement to make no such retries.

    Lambda asynchronous invocation settings control event age and function-error retries. An on-failure destination receives an invocation record containing request and response details; a function timeout limits execution duration, not how long an event remains eligible for processing.

    Open this question
  3. Question 53

    Operational Excellence and Automation

    A Systems Manager Automation runbook is executed separately against each of 200 instances using rate control. Operations requires at most 10 concurrent executions and no additional executions to start after the first execution reports failure, while allowing in-progress executions to finish; which settings meet these requirements?

    Show the answer

    Correct answerB. Set maximum concurrency to 10 and maximum errors to 0.

    AWhy not this: Step retry attempts do not limit fleet-wide concurrency, and an error threshold of 10 permits further executions.

    BWhy this is right: Concurrency is capped at 10, and the first reported failure exceeds the zero-error threshold.

    CWhy not this: An error threshold of 1 permits one failure before the threshold is exceeded.

    DWhy not this: Serial execution meets the concurrency ceiling but the error threshold permits additional work after failures.

    Maximum concurrency limits simultaneous target executions. Maximum errors of 0 stops additional executions after the first reported failure without canceling those already running; a value of 1 allows the error count to exceed one before stopping further executions.

    Open this question
  4. Question 54

    Operational Excellence and Automation

    A Systems Manager Automation runbook must obtain approval before changing production, verify a recovery snapshot is complete before patching, and restore from that snapshot if post-patch validation fails. Which workflow enforces these requirements without treating a failed prerequisite as permission to continue?

    Show the answer

    Correct answerA. Require approval; wait for snapshot completion; abort on prerequisite failure and route validation failure to restoration.

    AWhy this is right: Approval and snapshot readiness gate patching, while a separate failure path handles unsuccessful post-patch validation.

    BWhy not this: Retrying validation does not provide the required restoration path when the patched system fails validation.

    CWhy not this: Starting snapshot creation does not prove the recovery snapshot is complete before patching begins.

    DWhy not this: An SNS notification does not enforce approval, and an approval timeout must not authorize production changes.

    An approval gate and a snapshot-completion check must succeed before patching. Explicit failure routing can invoke restoration after validation fails; starting a snapshot alone does not establish that a usable recovery point exists.

    Open this question
  5. Question 55

    Operational Excellence and Automation

    Instances in an Auto Scaling group pass EC2 status checks, but an Application Load Balancer detects that their applications have stopped responding. What should a solutions architect configure to replace these instances automatically?

    Show the answer

    Correct answerC. Enable Elastic Load Balancing health checks for the Auto Scaling group.

    AWhy not this: Instance warmup affects scaling behavior; it does not enable application-level failure detection.

    BWhy not this: Request-count target tracking adjusts capacity for demand, rather than replacing instances based on application health.

    CWhy this is right: Auto Scaling can use load balancer health results to identify and replace instances with failed applications.

    DWhy not this: Faster load balancer checks do not make Auto Scaling use their results for replacement.

    Enabling Elastic Load Balancing health checks lets Auto Scaling replace instances reported unhealthy by the load balancer. Shortening the target group's health check interval speeds detection but does not enable Auto Scaling to act on those results.

    Open this question
  6. Question 56

    Operational Excellence and Automation

    An API's traffic varies 100-fold, and its SLO requires 99.9% of requests to succeed over a rolling 30-day interval. Operators need early warning of sustained rapid error-budget consumption without paging for isolated brief spikes; which design BEST meets these requirements?

    Show the answer

    Correct answerA. Use a request-based SLO and page when both short-window and long-window burn-rate thresholds are exceeded.

    AWhy this is right: Request-based attainment matches the target, while both burn-rate windows distinguish sustained consumption from brief spikes.

    BWhy not this: Request-based measurement fits, but waiting for an attainment breach does not provide early warning.

    CWhy not this: Period-based attainment does not weight each request equally, and either-window alerting can page on brief spikes.

    DWhy not this: The alert strategy fits, but period-based attainment weights time periods instead of individual requests.

    A request-based SLO weights individual requests, matching the requirement despite uneven traffic. Requiring elevated burn rates over short and long windows identifies sustained budget consumption; period-based attainment weights periods rather than requests, and an attainment-breach alert can arrive too late.

    Open this question
  7. Question 57

    Operational Excellence and Automation

    A period-based availability SLO requires 99.9% attainment over 30 days, evaluated in one-minute periods. An alert triggers when less than 10% of the error budget remains; after 39 bad minutes, what should the monitoring system report?

    Show the answer

    Correct answerD. 4.2 minutes remain; trigger the alert.

    AWhy not this: The remaining budget is 4.2 minutes, which is below the 4.32-minute alert threshold.

    BWhy not this: 43.2 minutes is the original allowance and does not account for the 39 bad minutes already consumed.

    CWhy not this: The budget is 43.2 minutes, so subtracting 39 leaves 4.2 rather than 3.0 minutes.

    DWhy this is right: Subtracting 39 from 43.2 leaves 4.2 minutes, less than 10% of the original budget.

    Thirty days contain 43,200 minutes, so a 0.1% error budget permits 43.2 bad minutes. After 39 bad minutes, 4.2 minutes remain, about 9.72% of the budget, triggering the alert; 43.2 minutes is the original budget, not the remaining budget.

    Open this question
  8. Question 58

    Operational Excellence and Automation

    An online store must detect a broken checkout workflow overnight, even when no customers are browsing. Which monitoring approach should the architect choose?

    Show the answer

    Correct answerD. Run a checkout canary with CloudWatch Synthetics.

    AWhy not this: RUM collects telemetry from actual browser sessions rather than generating scheduled checkout transactions.

    BWhy not this: Backend tracing observes requests but does not generate checkout transactions.

    CWhy not this: Service latency monitoring does not actively exercise the checkout workflow.

    DWhy this is right: A scheduled canary actively exercises the checkout workflow even when customers are absent.

    A CloudWatch Synthetics canary can execute a checkout workflow on a schedule without customer traffic. CloudWatch RUM observes actual user sessions, so it cannot exercise the workflow when no users are present.

    Open this question
  9. Question 59

    Operational Excellence and Automation

    Customers report slow page loads only on certain browser versions, while scheduled browser canaries and backend latency remain healthy. Which approach will BEST determine whether the problem correlates with browsers used by actual customers?

    Show the answer

    Correct answerC. Enable CloudWatch RUM and analyze page performance by browser.

    AWhy not this: Additional canary locations test controlled environments, not the affected customers' browser versions.

    BWhy not this: Availability Zone comparisons investigate backend placement rather than customer browser differences.

    CWhy this is right: RUM captures actual browser performance and browser metadata for identifying affected client populations.

    DWhy not this: Backend traces do not directly measure page-loading performance within customers' browsers.

    CloudWatch RUM measures performance in actual customer browsers and supports analysis by browser characteristics. Additional canaries expand controlled test coverage but do not reveal the distribution of performance across real customer environments.

    Open this question
  10. Question 60

    Operational Excellence and Automation

    Which measurement is a service-level indicator for an API availability SLO?

    Show the answer

    Correct answerA. The percentage of API requests that succeed

    AWhy this is right: The measured success percentage quantifies the API's observed availability.

    BWhy not this: The target specifies the desired reliability level rather than the observed measurement.

    CWhy not this: The evaluation interval defines when compliance is assessed, not what is measured.

    DWhy not this: A notification destination controls alert delivery, not service measurement.

    A service-level indicator is a measured aspect of service behavior, such as the percentage of successful requests. The target percentage is the service-level objective, not the measured indicator.

    Open this question