Curated

Monitoring, Logging, Analysis, Remediation, and Performance Optimization (1.1–1.3)

0 votes

Questions66

  1. Question 1

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An operator needs memory-utilization history before rightsizing Linux EC2 instances, but the default EC2 CloudWatch metrics do not include it. What should the operator do?

    Show the answer

    Correct answerD. Configure the CloudWatch agent to publish memory metrics.

    AWhy not this: EBS metrics describe storage activity and do not reveal guest operating system memory utilization.

    BWhy not this: Detailed monitoring provides one-minute EC2 metrics but does not collect guest operating system memory utilization.

    CWhy not this: CloudTrail records API activity rather than guest operating system memory utilization.

    DWhy this is right: The CloudWatch agent collects operating system memory metrics and publishes them to CloudWatch.

    The CloudWatch agent can collect guest operating system memory metrics needed for rightsizing. EC2 detailed monitoring increases the frequency of supported EC2 metrics but does not add guest memory utilization.

    Open this question
  2. Question 2

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A company uses AWS Compute Optimizer to review EC2 rightsizing recommendations. Its operator must review only instances tagged Application=Billing; what is the MOST direct approach?

    Show the answer

    Correct answerC. Filter Compute Optimizer recommendations by the resource tag.

    AWhy not this: Grouping charges by tag identifies application spending but does not isolate Compute Optimizer rightsizing recommendations.

    BWhy not this: CloudTrail event searches show recorded API activity, not a filtered set of rightsizing recommendations.

    CWhy this is right: A resource-tag filter limits the displayed recommendations to instances with the specified application tag.

    DWhy not this: A Region filter groups resources geographically rather than by their application ownership.

    Compute Optimizer supports filtering EC2 recommendations by resource tags, allowing the operator to isolate Billing instances. Grouping Cost Explorer charges by tag organizes costs but does not filter Compute Optimizer recommendations.

    Open this question
  3. Question 3

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A single-threaded application on an eight-vCPU EC2 instance misses its latency target while overall CPU utilization averages 12.5%. Process metrics show one CPU fully utilized, with memory, storage, and network below their limits; which change BEST addresses the bottleneck?

    Show the answer

    Correct answerA. Choose an instance with better single-thread CPU performance.

    AWhy this is right: Better single-thread CPU performance increases the processing capacity available to the application's limiting thread.

    BWhy not this: A cluster placement group improves inter-instance networking, not single-thread CPU performance.

    CWhy not this: Additional vCPUs do not accelerate a single thread when per-core performance remains similar.

    DWhy not this: Storage is below its limits, so additional EBS IOPS would not address the saturated CPU.

    One saturated CPU can limit a single-threaded application even when aggregate CPU utilization is low. Better single-thread performance addresses that limit; adding vCPUs does not parallelize the application's work.

    Open this question
  4. Question 4

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which CloudWatch metric shows the percentage of an EC2 instance's processing capacity currently in use?

    Show the answer

    Correct answerD. CPUUtilization

    AWhy not this: CPUCreditBalance measures remaining CPU credits for a burstable performance instance.

    BWhy not this: NetworkOut measures bytes sent from the instance, not processor use.

    CWhy not this: VolumeQueueLength measures pending EBS I/O requests, not processor use.

    DWhy this is right: CPUUtilization reports the percentage of the instance's processing capacity being used.

    CPUUtilization measures the percentage of processing capacity in use. CPUCreditBalance tracks available CPU credits on burstable instances, not current processor utilization.

    Open this question
  5. Question 5

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An EKS workload already exposes Prometheus metrics, and an existing collector scrapes them. The team wants AWS-managed storage with PromQL querying without operating a metrics database. What should it configure?

    Show the answer

    Correct answerA. Configure remote write to an Amazon Managed Service for Prometheus workspace.

    AWhy this is right: A workspace receives Prometheus samples through remote write and supports PromQL queries.

    BWhy not this: A log group stores log events rather than providing a Prometheus-compatible metrics database.

    CWhy not this: A dashboard visualizes existing data but does not provide managed Prometheus storage.

    DWhy not this: CloudWatch metric streams deliver metrics out of CloudWatch rather than ingest Prometheus samples.

    Amazon Managed Service for Prometheus provides managed storage and PromQL querying for Prometheus metrics ingested through remote write. CloudWatch metric streams export CloudWatch metrics; they do not ingest scraped Prometheus samples.

    Open this question
  6. Question 6

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which CloudWatch feature queries application log records to find the most frequent error messages?

    Show the answer

    Correct answerC. CloudWatch Logs Insights

    AWhy not this: Dashboards display widgets; log analysis within a widget relies on a query feature.

    BWhy not this: Metric streams continuously deliver metrics rather than query application log records.

    CWhy this is right: Logs Insights can filter log records and aggregate counts by error message.

    DWhy not this: Composite alarms combine alarm states rather than query individual log records.

    CloudWatch Logs Insights queries and aggregates log records, including counting occurrences of error messages. Dashboards visualize operational information but do not themselves provide a log-query engine.

    Open this question
  7. Question 7

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An AWS Lambda function runs successfully but produces no CloudWatch Logs entries despite writing application messages. Its execution role has no logging permissions. What should the operator do?

    Show the answer

    Correct answerA. Attach AWSLambdaBasicExecutionRole to the execution role.

    AWhy this is right: This AWS managed policy grants the execution role the permissions needed to publish Lambda logs.

    BWhy not this: SNS invocation permission controls who can invoke the function, not whether the function can publish logs.

    CWhy not this: Lambda sends application output to CloudWatch Logs without requiring a CloudWatch agent.

    DWhy not this: Lambda data events record invocation activity rather than application log messages.

    AWSLambdaBasicExecutionRole grants permissions to create CloudWatch Logs log groups and streams and publish log events. CloudTrail Lambda data events record invocation activity, not application messages.

    Open this question
  8. Question 8

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An operator must audit object deletions only under the sensitive/ prefix of an S3 bucket while excluding object reads and other prefixes. Which CloudTrail configuration meets these requirements?

    Show the answer

    Correct answerB. Select S3 object data events by prefix ARN and DeleteObject event name.

    AWhy not this: Bucket-wide data event collection includes reads and objects outside the required prefix.

    BWhy this is right: Advanced event selectors can match the sensitive/ object ARN prefix and the DeleteObject event name.

    CWhy not this: Management events cover bucket-level administration rather than object-level deletions.

    DWhy not this: CloudTrail Insights identifies unusual API activity patterns rather than selecting object-deletion audit records.

    CloudTrail advanced event selectors can restrict S3 object data events by resource ARN prefix and event name. Management events capture bucket-level operations, not object deletions.

    Open this question
  9. Question 9

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A Java application's log file contains timestamped entries followed by stack traces without timestamps. The CloudWatch agent sends each stack-trace line as a separate event. Which setting should group each entry and its stack trace?

    Show the answer

    Correct answerD. Set multi_line_start_pattern to match each timestamped entry's first line.

    AWhy not this: The flush interval controls delivery timing, not how lines are grouped into events.

    BWhy not this: A log stream name controls the destination stream, not event boundaries within a file.

    CWhy not this: timestamp_format controls timestamp parsing rather than grouping lines into events.

    DWhy this is right: Matching the first line identifies each new event and groups subsequent continuation lines with it.

    multi_line_start_pattern identifies the beginning of a new event, allowing following stack-trace lines to remain part of that event. timestamp_format parses event timestamps but does not define multiline event boundaries.

    Open this question
  10. Question 10

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which operating system metrics can the CloudWatch agent collect from a Linux EC2 instance? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersC. Filesystem space utilizationD. Memory utilization

    AWhy not this: CloudTrail records AWS API activity; API event counts are not operating system metrics collected by the agent.

    BWhy not this: Alarm states are maintained by CloudWatch, not collected from the instance operating system.

    CWhy this is right: The agent's disk plugin collects filesystem space utilization.

    DWhy this is right: The agent's mem plugin collects memory utilization from the Linux operating system.

    The CloudWatch agent can collect Linux memory and filesystem space utilization metrics. CloudTrail API events and CloudWatch alarm states are service-level information, not operating system metrics collected by the agent.

    Open this question
  11. Question 11

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An EC2 instance in a private subnet has no internet egress; its CloudWatch agent publishes metrics successfully but times out sending logs. IAM permissions are sufficient, and only the monitoring interface endpoint exists. What should the administrator do?

    Show the answer

    Correct answerB. Add a CloudWatch Logs interface endpoint and allow HTTPS access from the instance.

    AWhy not this: CloudTrail connectivity does not provide access to the CloudWatch Logs ingestion API.

    BWhy this is right: CloudWatch Logs needs its own reachable service endpoint when the instance has no internet egress.

    CWhy not this: The monitoring endpoint handles metrics; another one does not provide CloudWatch Logs connectivity.

    DWhy not this: SNS connectivity supports messaging, not delivery of agent logs to CloudWatch Logs.

    The agent sends metrics and logs to separate service endpoints. A CloudWatch Logs interface endpoint provides private connectivity for log delivery; another monitoring endpoint would still serve the metrics API rather than the Logs API.

    Open this question
  12. Question 12

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A CloudWatch agent configuration publishes mem_used_percent for each EC2 instance and appends AutoScalingGroupName. Operations needs only a group-level metric, with no original per-instance series published, while retaining other collected metrics. Which configuration meets these requirements?

    Show the answer

    Correct answerC. Set aggregation_dimensions to AutoScalingGroupName and add mem_used_percent to the mem drop_original_metrics list.

    AWhy not this: Dashboard visibility does not control which metric series the agent publishes.

    BWhy not this: Appending a dimension labels metrics; a longer interval changes frequency but does not suppress original series.

    CWhy this is right: Aggregation produces the group-level series, while drop_original_metrics suppresses only the specified original metric series.

    DWhy not this: Removing the measurement stops its collection, preventing publication of the required aggregate.

    aggregation_dimensions creates the group-level series, and drop_original_metrics suppresses the original series for the specified metric without disabling its aggregate. Removing the measurement stops collection, so it cannot produce the required aggregate.

    Open this question
  13. Question 13

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An administrator updates the CloudWatch agent JSON configuration stored in Systems Manager Parameter Store. Running EC2 agents still use the previous settings. What should the administrator do?

    Show the answer

    Correct answerB. Use the agent control utility to fetch the parameter and restart the agent.

    AWhy not this: Refreshing a dashboard changes the display, not the configuration used by the agent.

    BWhy this is right: Fetching the updated parameter and restarting the agent applies the revised collection settings.

    CWhy not this: Alarm evaluation settings do not change the agent's collection configuration.

    DWhy not this: A restart alone does not retrieve the changed Parameter Store configuration.

    Agents must fetch and apply the updated configuration; changing a Parameter Store value does not automatically reconfigure running agents. Restarting an instance without retrieving the update can leave the previously fetched configuration in use.

    Open this question
  14. Question 14

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An API's latency follows a strong daily pattern, so a fixed threshold either misses slowdowns in quiet hours or alarms falsely at peak. An alarm that invokes a remediation Lambda function must go off only when latency rises above its expected range for that time of day. Which steps meet this requirement? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Train a CloudWatch anomaly detection model on the latency metric.D. Use the model's band as the alarm threshold, alarming when latency is above the band.

    AWhy not this: A single static threshold set at the past peak would miss slowdowns during quiet hours, which is the problem to solve.

    BWhy this is right: Anomaly detection models the metric's normal values, including its daily pattern, to produce an expected band.

    CWhy not this: CloudTrail Insights detects unusual rates of management API calls or errors, not changes in an application's latency.

    DWhy this is right: An anomaly detection alarm compares the metric with the band and changes state when it is above the upper bound.

    EWhy not this: Composite alarms combine other alarms' states; they don't change a threshold by time of day, so each child alarm still uses one fixed value all day.

    CloudWatch anomaly detection learns a metric's expected values, including daily and weekly patterns, and an alarm can use the resulting band as its threshold and invoke the Lambda function when latency goes above it. CloudTrail Insights looks for unusual management API call or error rates, not application latency.

    Open this question
  15. Question 15

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    The CloudWatch agent on an EC2 instance already publishes mem_used_percent. When memory use stays above 90% for 10 minutes, the application's service must be restarted automatically. Which configuration meets this requirement?

    Show the answer

    Correct answerB. A mem_used_percent alarm whose ALARM state triggers an EventBridge rule that starts an Automation runbook to restart the service

    AWhy not this: System status checks report problems with AWS infrastructure, not guest memory use, and recovery moves the instance rather than restarting the service.

    BWhy this is right: The alarm detects sustained high memory use, and EventBridge starts the runbook that restarts the service without human action.

    CWhy not this: RunInstances API calls show instance launches, not memory use on a running instance.

    DWhy not this: An email notification relies on a person to act, so the restart is not automatic.

    An alarm on the agent's memory metric detects the condition, and an EventBridge rule on the alarm's state change can start a Systems Manager Automation runbook that restarts the service. The EC2 recover action responds to system status check failures on AWS hardware, not to memory pressure inside the guest.

    Open this question
  16. Question 16

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An API publishes request and error metrics only in minutes that have traffic; quiet minutes publish nothing. A CloudWatch alarm on a metric math error percentage invokes a remediation Lambda function. Minutes without data must count as healthy, so an alarm raised before a quiet period returns to OK. How should missing data be treated?

    Show the answer

    Correct answerD. notBreaching

    AWhy not this: With missing, the alarm can move to INSUFFICIENT_DATA when every datapoint in the window is missing, rather than to OK.

    BWhy not this: With ignore, the alarm keeps its current state, so it would stay in ALARM through a quiet period.

    CWhy not this: With breaching, quiet minutes count as failures and could trigger the remediation function.

    DWhy this is right: With notBreaching, empty minutes count as good datapoints, so the alarm can return to OK.

    Treating missing data as notBreaching counts empty minutes as within the threshold, so the alarm returns to OK during quiet periods. With ignore, the alarm keeps its current state, so an alarm raised before the quiet period would stay in ALARM.

    Open this question
  17. Question 17

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A standalone EC2 instance supports CloudWatch alarm-based recovery and must retain its instance ID and private IP address after an underlying host failure. Which alarm and action should a CloudOps engineer configure?

    Show the answer

    Correct answerB. Alarm on StatusCheckFailed_System and invoke the recover action.

    AWhy not this: Termination deletes the instance instead of recovering it with its identity intact.

    BWhy this is right: System status checks detect infrastructure failures, and recovery preserves the instance ID and private IP address.

    CWhy not this: CPU utilization does not identify host failures, and rebooting does not move the instance to healthy hardware.

    DWhy not this: Instance status checks concern the instance's software or networking rather than underlying host infrastructure.

    A system status check failure indicates an underlying infrastructure problem. The recover action moves a supported instance to healthy hardware while preserving its identity and addressing; rebooting addresses a different class of problems and does not migrate the instance to healthy hardware.

    Open this question
  18. Question 18

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which Amazon EBS CloudWatch metric reports the number of read and write requests waiting to complete?

    Show the answer

    Correct answerB. VolumeQueueLength

    AWhy not this: Measures total time spent on write operations rather than the number of outstanding requests.

    BWhy this is right: Reports the number of read and write requests waiting to complete.

    CWhy not this: Counts completed read operations, not requests waiting to complete.

    DWhy not this: Measures bytes written rather than outstanding read and write requests.

    VolumeQueueLength reports read and write requests waiting to complete. VolumeReadOps counts completed read operations rather than outstanding requests.

    Open this question
  19. Question 19

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A gp3 volume provisioned for 3,000 IOPS and 125 MiB/s sustains 1,000 IOPS with 128 KiB requests while its queue grows. The instance has spare EBS capacity; which change BEST removes the bottleneck without provisioning unnecessary IOPS?

    Show the answer

    Correct answerA. Increase provisioned throughput to 250 MiB/s

    AWhy this is right: Raises the saturated throughput limit while retaining sufficient provisioned IOPS.

    BWhy not this: Cluster placement groups improve inter-instance networking, not EBS volume throughput limits.

    CWhy not this: The workload reaches its throughput limit before its provisioned IOPS limit.

    DWhy not this: Increasing gp3 capacity alone does not increase its configured throughput.

    At 1,000 IOPS with 128 KiB requests, the workload consumes 125 MiB/s and reaches the volume's throughput limit. Increasing IOPS alone does not raise a gp3 volume's separately configured throughput.

    Open this question
  20. Question 20

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A 100 GiB gp2 volume initially handles a batch job quickly, but performance declines during sustained small random reads. Which CloudWatch metric BEST confirms depletion of the volume's burst credits?

    Show the answer

    Correct answerA. BurstBalance

    AWhy this is right: Reports the percentage of available burst credits remaining on the gp2 volume.

    BWhy not this: Measures time without submitted I/O, not the remaining burst-credit balance.

    CWhy not this: Tracks CPU credits for burstable EC2 instances rather than storage I/O credits.

    DWhy not this: Measures bytes read but does not directly report remaining burst credits.

    BurstBalance reports the percentage of burst credits remaining for a gp2 volume. CPUCreditBalance tracks burstable EC2 processor credits, not EBS I/O credits.

    Open this question
  21. Question 21

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Four gp3 volumes each provisioned for 250 MiB/s deliver only 125 MiB/s each under balanced load, with growing queues and IOPS below their limits. Their EC2 instance has a sustained aggregate EBS limit of 500 MiB/s; which change meets an 800 MiB/s sustained target without unnecessary storage spending?

    Show the answer

    Correct answerC. Choose an instance with at least 800 MiB/s sustained EBS throughput

    AWhy not this: Additional volume IOPS cannot overcome an instance-level throughput limit.

    BWhy not this: Adds volume capacity that the instance's aggregate EBS limit prevents the workload from using.

    CWhy this is right: Removes the aggregate instance bottleneck while using the volumes' existing throughput capacity.

    DWhy not this: Striping cannot bypass the aggregate EBS throughput limit of the instance.

    The volumes collectively support 1,000 MiB/s, but the instance caps aggregate EBS throughput at 500 MiB/s. An instance supporting at least 800 MiB/s sustained throughput removes that bottleneck; raising volume throughput cannot bypass the instance limit.

    Open this question
  22. Question 22

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which AWS tools provide recommendations for identifying underutilized EC2 instances? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. AWS Compute OptimizerD. AWS Trusted Advisor

    AWhy not this: Modifies EBS volume configurations rather than identifying underutilized EC2 instances.

    BWhy this is right: Analyzes resource utilization and provides EC2 instance rightsizing recommendations.

    CWhy not this: Analyzes database load rather than identifying underutilized EC2 instances.

    DWhy this is right: Includes checks that identify low-utilization EC2 instances.

    EWhy not this: Provides S3 storage usage and activity analytics, not EC2 rightsizing recommendations.

    FWhy not this: Transitions EFS files between storage classes rather than evaluating EC2 utilization.

    AWS Compute Optimizer provides EC2 rightsizing recommendations, and AWS Trusted Advisor includes checks for underutilized EC2 instances. EBS Elastic Volumes changes storage configurations rather than recommending EC2 rightsizing.

    Open this question
  23. Question 23

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application publishes custom events to a custom EventBridge bus. A rule with a matching event pattern is enabled on the default bus, but its target receives nothing. What should the engineer do?

    Show the answer

    Correct answerD. Create the rule on the application's custom bus.

    AWhy not this: A target's publishing permissions do not move source events between buses.

    BWhy not this: Changing filtering does not make a rule evaluate events received by a different bus.

    CWhy not this: Retries apply after a rule matches an event and attempts delivery, not when the event arrives on another bus.

    DWhy this is right: The rule must be on the bus receiving the application's events to evaluate and route them directly.

    A rule evaluates events received by the event bus where the rule is defined. Creating the rule on the custom bus lets it evaluate the application's events; retries cannot help when events never reach the rule's bus.

    Open this question
  24. Question 24

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application publishes request and error counts every minute. Operations must invoke a remediation Lambda function when errors exceed 5% for three consecutive minutes, but only when each minute has at least 100 requests. Which configuration meets these requirements?

    Show the answer

    Correct answerC. Alarm on a conditional error-rate expression for three periods, with a Lambda action.

    AWhy not this: Missing-data treatment does not suppress valid data points from minutes with fewer than 100 requests.

    BWhy not this: An error count is not an error percentage and does not enforce the minimum request volume.

    CWhy this is right: A conditional metric math expression enforces both the percentage threshold and the per-minute minimum volume.

    DWhy not this: The average error-count sample is not the ratio of errors to requests.

    CloudWatch metric math can return the error percentage only when the request count reaches 100, and zero otherwise. An alarm requiring three of three breaching periods enforces the duration; ignoring missing data does not exclude low-volume periods that contain data.

    Open this question
  25. Question 25

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    EventBridge successfully delivers events to a Lambda target, but the function later fails during execution. The rule's target dead-letter queue remains empty after Lambda exhausts its asynchronous retries. What should the engineer configure to retain these failures?

    Show the answer

    Correct answerD. A Lambda asynchronous on-failure destination

    AWhy not this: An archive retains incoming bus events, not records identifying exhausted Lambda execution failures.

    BWhy not this: The EventBridge event-age limit governs delivery attempts, not processing after Lambda accepts the event.

    CWhy not this: EventBridge delivery retries do not respond to execution failures after Lambda accepts an event.

    DWhy this is right: An asynchronous on-failure destination receives invocation records after Lambda exhausts its processing attempts.

    After Lambda accepts an asynchronous invocation, Lambda manages execution failures and retries. A Lambda on-failure destination retains failed invocation records; an EventBridge target dead-letter queue handles delivery failures, not subsequent function errors.

    Open this question
  26. Question 26

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application sends custom events with PutEvents to a custom event bus named orders. A rule with a correct event pattern was created on the default event bus, and its MatchedEvents metric stays at zero. What should the engineer do?

    Show the answer

    Correct answerC. Create the rule on the orders event bus instead.

    AWhy not this: Target permissions affect delivery after a match, but this rule never matches any event.

    BWhy not this: The aws.events source identifies events that EventBridge itself emits, such as scheduled events, not the application's custom events.

    CWhy this is right: Rules evaluate only events on their own bus, so the rule must be on the bus that receives the events.

    DWhy not this: An archive on the default bus would hold only events sent to that bus, which does not include the orders events.

    A rule matches only events sent to the event bus it belongs to, so events put on the orders bus never reach a rule on the default bus. Target permissions matter only after a rule matches; with MatchedEvents at zero, no delivery is attempted.

    Open this question
  27. Question 27

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which EventBridge rule feature extracts selected event fields and inserts their values into a custom JSON payload for a target?

    Show the answer

    Correct answerD. Input transformer

    AWhy not this: A retry policy controls repeated delivery attempts after delivery failures.

    BWhy not this: A dead-letter queue stores events that could not be delivered to a target.

    CWhy not this: An event pattern filters events rather than building a custom target payload.

    DWhy this is right: An input transformer maps event fields into a template used to construct the target payload.

    An input transformer extracts event fields and uses a template to construct the target payload. An event pattern determines which events match a rule; it does not reshape their contents.

    Open this question
  28. Question 28

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A composite alarm must keep evaluating during deployments but suppress its actions while a deployment alarm is ALARM. Actions must allow 60 seconds for that alarm to enter ALARM and remain suppressed for 180 seconds after it leaves ALARM; which configuration meets these requirements?

    Show the answer

    Correct answerD. Use the deployment alarm as the action suppressor; set WaitPeriod to 60 and ExtensionPeriod to 180.

    AWhy not this: Immediate reenabling provides neither the entry allowance nor the required post-deployment suppression interval.

    BWhy not this: The timing values are reversed, allowing too long for entry and too little time after the suppressor leaves ALARM.

    CWhy not this: Changing the rule changes the composite alarm's state; suppression timing requires an action suppressor.

    DWhy this is right: The suppressor controls actions, with a 60-second entry allowance and a 180-second post-suppression delay.

    An action suppressor leaves composite alarm evaluation intact. WaitPeriod allows the suppressor time to enter ALARM, and ExtensionPeriod delays actions after it leaves ALARM; changing the composite rule instead changes its evaluated state.

    Open this question
  29. Question 29

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which CloudWatch alarm type evaluates the states of other alarms to reduce duplicate notifications?

    Show the answer

    Correct answerB. Composite alarm

    AWhy not this: A static threshold alarm compares a metric with a specified threshold.

    BWhy this is right: A composite alarm combines other alarms' states into a single alarm rule.

    CWhy not this: An anomaly detection alarm compares a metric with an expected-value band.

    DWhy not this: A metric math alarm evaluates an expression calculated from metric data.

    A composite alarm evaluates a rule based on other alarms' states. A metric math alarm evaluates a calculated time series, not other alarms' states.

    Open this question
  30. Question 30

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A CloudWatch alarm must enter ALARM when at least three of the latest five one-minute CPUUtilization values exceed 80%, even if the breaches are not consecutive. Which configuration meets this requirement?

    Show the answer

    Correct answerB. Period: 60 seconds; evaluation periods: 5; datapoints to alarm: 3

    AWhy not this: This requires three breaches within three periods rather than allowing three breaches within five periods.

    BWhy this is right: This evaluates five one-minute periods and requires any three of them to breach.

    CWhy not this: This evaluates one five-minute aggregate rather than five separate one-minute values.

    DWhy not this: This requires every value in the five-period window to breach the threshold.

    An M-out-of-N alarm uses datapoints to alarm as M and evaluation periods as N. Setting these to three and five allows nonconsecutive breaches; requiring five breaches would miss the requested three-of-five condition.

    Open this question
  31. Question 31

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An operator must start an AWS Step Functions state machine whenever a specific CloudWatch alarm enters ALARM, without custom code or polling. Which configuration meets these requirements?

    Show the answer

    Correct answerD. Route the alarm's state-change events through EventBridge to the state machine.

    AWhy not this: Step Functions state machines are not supported as direct CloudWatch alarm action targets.

    BWhy not this: PutMetricAlarm records alarm creation or updates, not evaluated alarm state transitions.

    CWhy not this: A schedule starts executions independently of alarm transitions and does not satisfy the event-driven requirement.

    DWhy this is right: EventBridge can match the specific alarm entering ALARM and start the state machine without custom code.

    An EventBridge rule can match the alarm's state-change events, filter for ALARM, and target Step Functions. PutMetricAlarm events describe alarm configuration changes, not transitions caused by metric evaluation.

    Open this question
  32. Question 32

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An engineer has validated version 7 of a custom Automation runbook, but other engineers will continue publishing versions and changing the default. How should a scheduled SDK call start only the validated version?

    Show the answer

    Correct answerC. Set DocumentVersion to 7 in StartAutomationExecution.

    AWhy not this: $DEFAULT follows the default version, which other engineers are expected to change.

    BWhy not this: Omitting the version selects the default rather than pinning the validated version.

    CWhy this is right: An explicit numeric version selects the validated version regardless of later publications or default changes.

    DWhy not this: $LATEST selects the newest version, which may not have been validated.

    Specifying the numeric DocumentVersion pins the execution to the validated runbook version. $DEFAULT and an omitted version use the current default, while $LATEST follows the newest version.

    Open this question
  33. Question 33

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which Systems Manager Automation action pauses a runbook until designated approvers approve or reject its continuation?

    Show the answer

    Correct answerB. aws:approve

    AWhy not this: Sleeping delays execution for a specified duration rather than waiting for an approval decision.

    BWhy this is right: This action requests an approval decision from the specified approvers before continuing.

    CWhy not this: Conditional branching selects a path based on input values rather than requesting human approval.

    DWhy not this: Pausing execution does not establish an approval request for designated approvers.

    aws:approve requests approval from designated principals before the automation proceeds. aws:pause suspends execution but does not provide the designated-approver approval workflow.

    Open this question
  34. Question 34

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A Systems Manager Automation runbook starts an EC2 instance and must wait until its state is running before continuing. Which action should the engineer use to check the state repeatedly until it matches or times out?

    Show the answer

    Correct answerA. aws:waitForAwsResourceProperty

    AWhy this is right: This action polls the selected resource property until a desired value is returned or the timeout is reached.

    BWhy not this: An API call can retrieve the current state but does not itself poll until the desired state is reached.

    CWhy not this: This action checks the property against expected values without waiting for a state transition.

    DWhy not this: A fixed delay does not check whether the instance has reached the required state.

    aws:waitForAwsResourceProperty polls an AWS resource property until it reaches a desired value or the step times out. aws:assertAwsResourceProperty checks a property but does not wait for it to change.

    Open this question
  35. Question 35

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A rate-controlled Systems Manager Automation targets 100 EC2 instances and must run on at most five instances concurrently. It must stop launching additional target executions after the first reported failure, while allowing executions already running to finish. Which settings meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Set MaxErrors to 0.D. Set MaxConcurrency to 5.

    AWhy this is right: A zero-error threshold stops launching additional target executions after the first reported failure.

    BWhy not this: maxAttempts controls retries within a step, not concurrency across targeted instances.

    CWhy not this: A threshold of 1 allows one failure; launching stops when failures exceed that threshold.

    DWhy this is right: A count of 5 caps simultaneous target executions at five instances.

    EWhy not this: Ten percent of 100 targets allows ten concurrent executions, exceeding the required limit.

    FWhy not this: Aborting a failed runbook execution does not establish a fleet-wide error threshold.

    MaxConcurrency of 5 limits simultaneous target executions, and MaxErrors of 0 stops launching more after the first reported failure. MaxErrors of 1 permits one failure before the threshold is exceeded; executions already running can still finish.

    Open this question
  36. Question 36

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An EventBridge rule matches events and uses an input transformer to invoke a Lambda function, but failed events reach its dead-letter queue with NO_PERMISSIONS; the function has no invocation logs. The function's execution role permits logging, and the target ARN is correct. Which change restores delivery while restricting invocation to this rule?

    Show the answer

    Correct answerA. Allow events.amazonaws.com in the function's resource policy, conditioned on the rule ARN.

    AWhy this is right: The EventBridge service principal needs resource-based invocation permission, restricted by the source rule ARN.

    BWhy not this: The invoking service is EventBridge, so the required principal is events.amazonaws.com rather than lambda.amazonaws.com.

    CWhy not this: An event bus policy controls access to the bus; it does not grant invocation access to a Lambda function.

    DWhy not this: The execution role grants permissions to running function code; it does not authorize EventBridge to invoke the function.

    EventBridge needs permission in the Lambda function's resource-based policy, with events.amazonaws.com as the principal and the rule ARN as a source condition. The function's execution role controls what its code can access, not who can invoke it.

    Open this question
  37. Question 37

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A company must copy an on-premises NFS dataset to S3 nightly, transfer only changed data after the initial copy, and verify transferred data integrity. Which approach meets these requirements with the LEAST custom development?

    Show the answer

    Correct answerA. Schedule an AWS DataSync task with changed-data transfer and verification.

    AWhy this is right: DataSync provides managed scheduling, incremental transfers, and integrity verification for NFS-to-S3 copies.

    BWhy not this: Transfer Acceleration does not provide change detection or managed synchronization and would require custom development.

    CWhy not this: S3 replication requires an S3 source bucket; an NFS server cannot serve as its source.

    DWhy not this: Multipart upload handles individual object transfers but does not provide dataset change detection or scheduling.

    AWS DataSync supports scheduled NFS-to-S3 transfers, changed-data transfer, and data verification. Transfer Acceleration optimizes the network path but does not supply source scanning, change detection, or scheduled synchronization.

    Open this question
  38. Question 38

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application uploads 20 GiB objects to S3 over an unreliable connection. Which approach allows concurrent transfer and retries of only failed portions?

    Show the answer

    Correct answerB. Use multipart uploads.

    AWhy not this: Versioning preserves object versions; it does not divide an upload into parts.

    BWhy this is right: Parts can upload concurrently, and failed parts can be retried without retransmitting successful parts.

    CWhy not this: Lifecycle transitions change storage classes after upload rather than handling transfer failures.

    DWhy not this: Acceleration optimizes the network path rather than providing independently retriable object parts.

    Multipart upload transfers an object as independently uploaded parts, allowing parallel uploads and retries of failed parts. S3 Transfer Acceleration improves long-distance transfer paths but does not itself divide an object into independently retriable parts.

    Open this question
  39. Question 39

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A versioned S3 bucket accumulates large previous versions of frequently overwritten objects. The company must retain current versions indefinitely but permanently remove previous versions 30 days after replacement; which Lifecycle action meets this requirement?

    Show the answer

    Correct answerA. Expire noncurrent versions after 30 days.

    AWhy this is right: Noncurrent version expiration permanently removes previous versions based on time since replacement.

    BWhy not this: Expired delete marker removal cleans up eligible delete markers, not stored previous object versions.

    CWhy not this: Transitioning changes the storage class but retains the previous versions.

    DWhy not this: Current version expiration affects the versions that must be retained and does not permanently remove the previous versions.

    Noncurrent version expiration permanently deletes versions after they have been noncurrent for the configured period. Current version expiration instead adds delete markers in a versioned bucket and does not provide the required cleanup.

    Open this question
  40. Question 40

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which S3 feature uses AWS edge locations to accelerate uploads from geographically distant clients to a bucket?

    Show the answer

    Correct answerA. S3 Transfer Acceleration

    AWhy this is right: Transfer Acceleration uses edge locations to improve long-distance transfers to S3.

    BWhy not this: Server access logging records bucket requests rather than accelerating transfers.

    CWhy not this: Intelligent-Tiering optimizes storage costs according to access patterns, not client transfer paths.

    DWhy not this: Cross-Region Replication copies stored objects between buckets rather than accelerating uploads.

    S3 Transfer Acceleration routes transfers through AWS edge locations and an optimized network path to S3. Cross-Region Replication copies objects between buckets after they are stored rather than accelerating client uploads.

    Open this question
  41. Question 41

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application uses a 1 TiB gp2 volume and requires 3,000 IOPS and 125 MiB/s of sustained throughput. Which change reduces storage cost while meeting these requirements?

    Show the answer

    Correct answerD. Change to a 1 TiB gp3 volume with baseline performance.

    AWhy not this: Throughput Optimized HDD storage does not meet a sustained requirement of 3,000 IOPS.

    BWhy not this: A 500 GiB gp2 volume has a baseline of 1,500 IOPS, below the sustained requirement.

    CWhy not this: Provisioned IOPS SSD storage adds cost for capabilities this workload does not require.

    DWhy this is right: Baseline gp3 performance meets both requirements while reducing per-GiB storage cost.

    A gp3 volume includes 3,000 IOPS and 125 MiB/s of baseline performance at a lower storage price than gp2. Reducing gp2 capacity also reduces baseline IOPS, so a 500 GiB volume cannot sustain the required IOPS.

    Open this question
  42. Question 42

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which CloudWatch dashboard widget displays the current states of selected alarms?

    Show the answer

    Correct answerD. Alarm status widget

    AWhy not this: A number widget displays metric values, not a collection of evaluated alarm states.

    BWhy not this: A logs table widget displays log query results rather than selected alarm states.

    CWhy not this: A text widget displays authored text and Markdown rather than live alarm states.

    DWhy this is right: An alarm status widget displays selected alarms and their current states.

    An alarm status widget displays the states of selected CloudWatch alarms. A number widget displays metric values rather than the evaluated states of a collection of alarms.

    Open this question
  43. Question 43

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    How can an operator display metrics from two AWS Regions on one CloudWatch dashboard?

    Show the answer

    Correct answerC. Add metric widgets that reference the respective Regions.

    AWhy not this: Metric streams export metrics to destinations rather than replicate dashboard definitions.

    BWhy not this: Composite alarms combine alarm states, not metric graphs from multiple Regions.

    CWhy this is right: Metric widgets can specify different Regions within the same dashboard.

    DWhy not this: CloudTrail records activity events rather than supplying regional CloudWatch metric values.

    A CloudWatch dashboard can contain metric widgets referencing different Regions. Metric streams export metric data; they do not replicate dashboards or provide the dashboard's multi-Region display capability.

    Open this question
  44. Question 44

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A team wants an SNS notification only when its CPU alarm and request-latency alarm are both in ALARM. Which configuration meets this requirement?

    Show the answer

    Correct answerD. Create a composite alarm using AND and attach the SNS action.

    AWhy not this: The OR rule requires only one underlying alarm to be in ALARM.

    BWhy not this: Matching either transition does not check whether both alarms are currently in ALARM.

    CWhy not this: Each metric alarm sends notifications independently, without checking the other alarm's state.

    DWhy this is right: The AND rule requires both underlying alarms to be in ALARM before the composite alarm triggers its SNS action.

    A composite alarm with an AND rule enters ALARM when both referenced alarms are in ALARM and can notify SNS. An OR rule triggers when either alarm is in ALARM, so it does not enforce the required combination.

    Open this question
  45. Question 45

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A manager without an AWS account needs read-only access to one CloudWatch dashboard. Access must require sign-in and be limited to invited viewers; what should the operator configure?

    Show the answer

    Correct answerB. Share the dashboard with specific people using their email addresses.

    AWhy not this: Public sharing does not restrict access to authenticated, invited viewers.

    BWhy this is right: Specific-person sharing provides authenticated dashboard viewing for invited users without AWS accounts.

    CWhy not this: An email address alone is not an IAM principal that can receive an identity-based policy.

    DWhy not this: An SNS email subscription delivers notifications rather than interactive dashboard access.

    Sharing a dashboard with specific people allows invited users to sign in and view it without an AWS account. Public sharing also supports viewers without AWS accounts, but anyone with the link can access the dashboard.

    Open this question
  46. Question 46

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An operations account must graph metrics from several source accounts in one Region without copying the metrics. The team selects CloudWatch cross-account observability; which configurations establish the required account connections? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Create links in the source accounts to the monitoring account's sink, including metric sharing.E. Create an Observability Access Manager sink in the monitoring account with a policy permitting the source accounts.

    AWhy this is right: Source-account links identify the monitoring sink and the observability data types to share.

    BWhy not this: Dashboard sharing grants viewing access; it does not establish cross-account metric discovery.

    CWhy not this: Sinks belong in the monitoring account for this relationship; viewer permissions do not establish metric sharing.

    DWhy not this: This reverses the required direction: source accounts create links to the monitoring account's sink.

    EWhy this is right: The monitoring account's sink and its policy define which source accounts can establish observability links.

    FWhy not this: Metric streams export data to supported delivery destinations, not directly to dashboards.

    CloudWatch cross-account observability uses a sink in the monitoring account and links from source accounts that share selected observability data. Reversing the sink and link locations does not establish the required monitoring relationship.

    Open this question
  47. Question 47

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An operations team needs SNS notifications when a production RDS DB instance experiences a failover. Which configuration provides these notifications without deriving events from performance metrics?

    Show the answer

    Correct answerD. Create an RDS event subscription for the instance's failover category.

    AWhy not this: A dashboard displays data but does not subscribe an SNS topic to RDS events.

    BWhy not this: Delivering CloudTrail events to S3 does not configure SNS notifications for RDS failovers.

    CWhy not this: CPU utilization does not reliably identify a database failover event.

    DWhy this is right: An RDS event subscription routes the selected instance's failover events to an SNS topic.

    RDS event subscriptions can send notifications for selected event categories, including failover, to SNS. A CPUUtilization alarm detects a metric threshold breach, not the occurrence of a failover event.

    Open this question
  48. Question 48

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A CloudWatch alarm successfully sends SNS notifications when CPU utilization becomes excessive. Operators also need a notification when the alarm returns to normal. What should they configure?

    Show the answer

    Correct answerB. An SNS action for transitions to the OK state

    AWhy not this: INSUFFICIENT_DATA indicates that the alarm cannot determine its state, not that utilization has returned to normal.

    BWhy this is right: An OK action invokes the SNS notification when the alarm transitions to its normal state.

    CWhy not this: A filter selects messages already published to SNS; it does not generate recovery notifications.

    DWhy not this: Changing the evaluation period does not add a notification action for the OK state.

    An OK action publishes a notification when the alarm transitions back to OK. A subscription filter can select published messages, but it cannot make an alarm publish a recovery notification.

    Open this question
  49. Question 49

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A CloudWatch alarm stops delivering notifications after its SNS topic is encrypted with a customer managed KMS key. The topic policy still permits CloudWatch publishing, and subscriptions are confirmed. What should the operator change?

    Show the answer

    Correct answerA. Grant cloudwatch.amazonaws.com kms:Decrypt and kms:GenerateDataKey* in the key policy.

    AWhy this is right: These key permissions let the CloudWatch service publish notifications to the encrypted SNS topic.

    BWhy not this: The instance role does not publish CloudWatch alarm notifications, and these are not the required key permissions.

    CWhy not this: The CloudWatch Logs principal is different from the CloudWatch service principal that publishes alarm notifications.

    DWhy not this: SNS handles topic encryption transparently; subscriber permissions do not authorize CloudWatch to use the key.

    CloudWatch needs kms:Decrypt and kms:GenerateDataKey* permissions on the customer managed key to publish to the encrypted topic. Giving subscribers decryption permissions does not authorize the publishing service to use the key.

    Open this question
  50. Question 50

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An SNS email subscription for alarm notifications shows PendingConfirmation. What must the recipient do to begin receiving notifications?

    Show the answer

    Correct answerA. Follow the link in the subscription confirmation email.

    AWhy this is right: Following the confirmation link verifies the recipient's consent and activates the subscription.

    BWhy not this: A test publication does not change a subscription from PendingConfirmation to confirmed.

    CWhy not this: An alarm description is informational and does not register or confirm an SNS subscriber.

    DWhy not this: Detailed monitoring affects metric collection frequency, not SNS subscription status.

    Email recipients must confirm an SNS subscription using the link sent to their address. Publishing a test message does not confirm a pending subscription.

    Open this question