0 / 60 answered
Pick an answer to see the explanation. Fundamental questions refresh the basics; Advanced questions are short SAP-style scenarios.
Q1.An EC2 instance uses default monitoring. How often does it send metrics such as CPUUtilization to CloudWatch, and how do you make it every minute?
✓ Correct: D. Every 5 minutes; enable detailed monitoring for 1-minute data
How to think about it: EC2 basic = 5 min (free); detailed = 1 min (paid).
Why D is correct: Basic monitoring publishes at 5-minute intervals, and detailed monitoring raises that to every minute for a charge.
Why the others are wrong:
A) Every minute; enable high-resolution mode for 1-second data — Default EC2 metrics are 5-minute, and built-in EC2 metrics cannot be made 1-second.
B) Every 15 minutes; install the agent for 5-minute data — Neither interval is right; basic is 5 minutes and detailed is 1 minute.
C) Every 10 seconds; nothing more granular exists — Ten-second granularity applies only to high-resolution custom metrics.
How to think about it: EC2 basic = 5 min (free); detailed = 1 min (paid).
Why D is correct: Basic monitoring publishes at 5-minute intervals, and detailed monitoring raises that to every minute for a charge.
Why the others are wrong:
A) Every minute; enable high-resolution mode for 1-second data — Default EC2 metrics are 5-minute, and built-in EC2 metrics cannot be made 1-second.
B) Every 15 minutes; install the agent for 5-minute data — Neither interval is right; basic is 5 minutes and detailed is 1 minute.
C) Every 10 seconds; nothing more granular exists — Ten-second granularity applies only to high-resolution custom metrics.
Q2.An application must publish a custom latency metric with one-second granularity. What should it use?
✓ Correct: C. A high-resolution custom metric published with PutMetricData
How to think about it: Custom metric at 1 s = high-resolution metric via PutMetricData.
Why C is correct: Custom metrics can be stored at 1-second resolution when published with a storage resolution of 1.
Why the others are wrong:
A) Detailed monitoring on the instance — Detailed monitoring gives 1-minute data for built-in EC2 metrics only.
B) A CloudWatch Logs metric filter on access logs — Metric filters produce metrics from logs but are not the way to push 1-second data points.
D) A standard-resolution custom metric — Standard resolution stores data at 1-minute granularity.
How to think about it: Custom metric at 1 s = high-resolution metric via PutMetricData.
Why C is correct: Custom metrics can be stored at 1-second resolution when published with a storage resolution of 1.
Why the others are wrong:
A) Detailed monitoring on the instance — Detailed monitoring gives 1-minute data for built-in EC2 metrics only.
B) A CloudWatch Logs metric filter on access logs — Metric filters produce metrics from logs but are not the way to push 1-second data points.
D) A standard-resolution custom metric — Standard resolution stores data at 1-minute granularity.
Q3.A custom metric must be broken out per environment and per instance so each can be graphed separately. What do you add when publishing it?
✓ Correct: A. Dimensions such as Environment and InstanceId
How to think about it: Slice a metric by attributes = dimensions (name/value pairs).
Why A is correct: Dimensions are name/value pairs that identify a distinct metric series you can graph and alarm on.
Why the others are wrong:
B) A different metric unit for each environment — Units describe measurement types such as Seconds, not which series a point belongs to.
C) Resource tags on the metric — Metrics are selected by namespace, name and dimensions, not by tags you attach to them.
D) A separate CloudWatch namespace per instance — Namespaces group related metrics; one per instance is unmanageable and not their purpose.
How to think about it: Slice a metric by attributes = dimensions (name/value pairs).
Why A is correct: Dimensions are name/value pairs that identify a distinct metric series you can graph and alarm on.
Why the others are wrong:
B) A different metric unit for each environment — Units describe measurement types such as Seconds, not which series a point belongs to.
C) Resource tags on the metric — Metrics are selected by namespace, name and dimensions, not by tags you attach to them.
D) A separate CloudWatch namespace per instance — Namespaces group related metrics; one per instance is unmanageable and not their purpose.
Q4.How long does CloudWatch keep metric data, at the longest?
✓ Correct: D. 15 months, as hourly aggregates
How to think about it: Metric retention tops out at 15 months (rolled up to 1-hour points).
Why D is correct: CloudWatch keeps finer data for shorter periods and rolls it up so hourly points remain for 15 months.
Why the others are wrong:
A) 90 days at full resolution — Ninety days is the CloudTrail event history window, not metric retention.
B) 7 years with no extra setting — Seven years would require exporting data elsewhere.
C) Forever unless you delete the metric — Metrics cannot be kept indefinitely; old data points expire.
How to think about it: Metric retention tops out at 15 months (rolled up to 1-hour points).
Why D is correct: CloudWatch keeps finer data for shorter periods and rolls it up so hourly points remain for 15 months.
Why the others are wrong:
A) 90 days at full resolution — Ninety days is the CloudTrail event history window, not metric retention.
B) 7 years with no extra setting — Seven years would require exporting data elsewhere.
C) Forever unless you delete the metric — Metrics cannot be kept indefinitely; old data points expire.
Q5.Operations wants one screen showing the key metrics and alarms for workloads in us-east-1 and eu-west-1. What should they build?
✓ Correct: D. A CloudWatch dashboard with widgets from both Regions
How to think about it: One screen, many Regions (and accounts) = CloudWatch dashboard.
Why D is correct: Dashboards are global and can show metrics and alarms from several Regions and accounts together.
Why the others are wrong:
A) An AWS Health Dashboard view — Health shows AWS service events, not your application metrics.
B) One CloudWatch dashboard per Region, viewed side by side — A single dashboard can already combine Regions, so this adds needless clutter.
C) A Logs Insights query saved per Region — Insights queries search log data and do not replace metric dashboards.
How to think about it: One screen, many Regions (and accounts) = CloudWatch dashboard.
Why D is correct: Dashboards are global and can show metrics and alarms from several Regions and accounts together.
Why the others are wrong:
A) An AWS Health Dashboard view — Health shows AWS service events, not your application metrics.
B) One CloudWatch dashboard per Region, viewed side by side — A single dashboard can already combine Regions, so this adds needless clutter.
C) A Logs Insights query saved per Region — Insights queries search log data and do not replace metric dashboards.
Q6.Which API does an application call to send its own business metric, such as orders per minute, to CloudWatch?
✓ Correct: B. PutMetricData
How to think about it: Push your own numbers = PutMetricData.
Why B is correct: PutMetricData publishes data points for custom metrics into a namespace you choose.
Why the others are wrong:
A) PutEvents — PutEvents sends events to an EventBridge bus.
C) PutLogEvents — PutLogEvents writes log events to CloudWatch Logs, not metric data points.
D) PutMetricAlarm — PutMetricAlarm creates or updates an alarm; it does not publish data.
How to think about it: Push your own numbers = PutMetricData.
Why B is correct: PutMetricData publishes data points for custom metrics into a namespace you choose.
Why the others are wrong:
A) PutEvents — PutEvents sends events to an EventBridge bus.
C) PutLogEvents — PutLogEvents writes log events to CloudWatch Logs, not metric data points.
D) PutMetricAlarm — PutMetricAlarm creates or updates an alarm; it does not publish data.
Q7.A third-party observability platform must receive CloudWatch metrics for hundreds of namespaces continuously with low latency, without polling the API. What fits best?
✓ Correct: C. CloudWatch Metric Streams delivering through Amazon Data Firehose
How to think about it: Continuous push of metrics out of CloudWatch = Metric Streams to Firehose.
Why C is correct: Metric Streams push metric updates continuously to Firehose, which forwards them to partner or custom endpoints.
Why the others are wrong:
A) A CloudWatch Logs subscription filter — Subscription filters stream log events, not metric data.
B) A Lambda function calling GetMetricData every minute — Polling works but is slower, costlier at scale, and what the requirement wants to avoid.
D) Exporting metrics with CreateExportTask — CreateExportTask exports log data to S3, not metrics.
How to think about it: Continuous push of metrics out of CloudWatch = Metric Streams to Firehose.
Why C is correct: Metric Streams push metric updates continuously to Firehose, which forwards them to partner or custom endpoints.
Why the others are wrong:
A) A CloudWatch Logs subscription filter — Subscription filters stream log events, not metric data.
B) A Lambda function calling GetMetricData every minute — Polling works but is slower, costlier at scale, and what the requirement wants to avoid.
D) Exporting metrics with CreateExportTask — CreateExportTask exports log data to S3, not metrics.
Q8.A central monitoring account must view metrics, logs and traces from 30 workload accounts without assuming roles into each one. What should you set up?
✓ Correct: B. CloudWatch cross-account observability
How to think about it: One monitoring account seeing many source accounts = CloudWatch cross-account observability.
Why B is correct: Linked source accounts share telemetry so the monitoring account can search and graph it directly.
Why the others are wrong:
A) VPC peering from the monitoring account to each account — Network peering does not share CloudWatch telemetry.
C) A CloudWatch dashboard in every workload account — Per-account dashboards still require signing in to each account.
D) AWS Config aggregator in the monitoring account — Config aggregators combine resource configuration, not metrics, logs or traces.
How to think about it: One monitoring account seeing many source accounts = CloudWatch cross-account observability.
Why B is correct: Linked source accounts share telemetry so the monitoring account can search and graph it directly.
Why the others are wrong:
A) VPC peering from the monitoring account to each account — Network peering does not share CloudWatch telemetry.
C) A CloudWatch dashboard in every workload account — Per-account dashboards still require signing in to each account.
D) AWS Config aggregator in the monitoring account — Config aggregators combine resource configuration, not metrics, logs or traces.
Q9.A CloudWatch alarm has just been created and the metric has no data yet. What state is it in?
✓ Correct: D. INSUFFICIENT_DATA
How to think about it: Alarm states = OK, ALARM, INSUFFICIENT_DATA.
Why D is correct: Without enough data points to evaluate, the alarm reports INSUFFICIENT_DATA.
Why the others are wrong:
A) OK — OK means data exists and is within the threshold.
B) ALARM — ALARM means data has breached the threshold for the required periods.
C) PENDING — PENDING is not a CloudWatch alarm state.
How to think about it: Alarm states = OK, ALARM, INSUFFICIENT_DATA.
Why D is correct: Without enough data points to evaluate, the alarm reports INSUFFICIENT_DATA.
Why the others are wrong:
A) OK — OK means data exists and is within the threshold.
B) ALARM — ALARM means data has breached the threshold for the required periods.
C) PENDING — PENDING is not a CloudWatch alarm state.
Q10.Development instances often sit idle overnight. Which alarm action stops an instance when CPU stays below 2% for an hour, without writing code?
✓ Correct: C. A CloudWatch alarm with the EC2 stop action
How to think about it: Alarm can act on EC2 directly: stop, terminate, reboot, recover.
Why C is correct: Alarms on per-instance metrics can stop, terminate, reboot or recover the instance directly.
Why the others are wrong:
A) An AWS Config rule with an idle-instance check — Config rules evaluate configuration, not live CPU utilisation.
B) A CloudWatch alarm that notifies an SQS queue — Alarms do not target SQS directly, and a queue would not stop the instance.
D) A CloudWatch dashboard widget with a threshold — Dashboard thresholds are visual only and take no action.
How to think about it: Alarm can act on EC2 directly: stop, terminate, reboot, recover.
Why C is correct: Alarms on per-instance metrics can stop, terminate, reboot or recover the instance directly.
Why the others are wrong:
A) An AWS Config rule with an idle-instance check — Config rules evaluate configuration, not live CPU utilisation.
B) A CloudWatch alarm that notifies an SQS queue — Alarms do not target SQS directly, and a queue would not stop the instance.
D) A CloudWatch dashboard widget with a threshold — Dashboard thresholds are visual only and take no action.
Q11.An alarm watches a high-resolution custom metric. What is the shortest evaluation period it can use?
✓ Correct: C. 10 seconds
How to think about it: High-resolution alarm periods = 10 s, 30 s or multiples of 60 s.
Why C is correct: Alarms on high-resolution metrics can evaluate every 10 or 30 seconds, as well as multiples of a minute.
Why the others are wrong:
A) 1 minute — One minute is the minimum for standard-resolution metrics, not high-resolution ones.
B) 1 second — Data can be stored at 1 second, but the shortest alarm period is 10 seconds.
D) 5 minutes — Five minutes matches basic EC2 monitoring, not the alarm minimum.
How to think about it: High-resolution alarm periods = 10 s, 30 s or multiples of 60 s.
Why C is correct: Alarms on high-resolution metrics can evaluate every 10 or 30 seconds, as well as multiples of a minute.
Why the others are wrong:
A) 1 minute — One minute is the minimum for standard-resolution metrics, not high-resolution ones.
B) 1 second — Data can be stored at 1 second, but the shortest alarm period is 10 seconds.
D) 5 minutes — Five minutes matches basic EC2 monitoring, not the alarm minimum.
Q12.An on-call team gets dozens of separate pages when one database problem trips CPU, latency and error alarms together. What reduces the noise?
✓ Correct: B. A composite alarm over the related alarms
How to think about it: Combine several alarms with AND/OR = composite alarm.
Why B is correct: Composite alarms evaluate other alarms with AND/OR logic, so one page replaces many.
Why the others are wrong:
A) Switching each alarm to INSUFFICIENT_DATA — Alarm state is computed, not set as a noise filter.
C) Sending every alarm to one SNS topic — One topic still delivers one message per alarm, so the page count stays high.
D) Raising every threshold until fewer alarms fire — Higher thresholds hide real problems instead of grouping related ones.
How to think about it: Combine several alarms with AND/OR = composite alarm.
Why B is correct: Composite alarms evaluate other alarms with AND/OR logic, so one page replaces many.
Why the others are wrong:
A) Switching each alarm to INSUFFICIENT_DATA — Alarm state is computed, not set as a noise filter.
C) Sending every alarm to one SNS topic — One topic still delivers one message per alarm, so the page count stays high.
D) Raising every threshold until fewer alarms fire — Higher thresholds hide real problems instead of grouping related ones.
Q13.Which CloudWatch alarm action lets an Auto Scaling group add instances when queue depth grows?
✓ Correct: B. An Auto Scaling scaling policy as the alarm action
How to think about it: Alarm action can be an Auto Scaling policy.
Why B is correct: Step and simple scaling policies are triggered by CloudWatch alarms to change group capacity.
Why the others are wrong:
A) A Systems Manager Run Command document — Run Command executes scripts on instances and does not change group size.
C) A CloudWatch Logs subscription — Subscriptions stream logs; they are not alarm actions.
D) The EC2 recover action — Recover moves one impaired instance to new hardware; it does not add capacity.
How to think about it: Alarm action can be an Auto Scaling policy.
Why B is correct: Step and simple scaling policies are triggered by CloudWatch alarms to change group capacity.
Why the others are wrong:
A) A Systems Manager Run Command document — Run Command executes scripts on instances and does not change group size.
C) A CloudWatch Logs subscription — Subscriptions stream logs; they are not alarm actions.
D) The EC2 recover action — Recover moves one impaired instance to new hardware; it does not add capacity.
Q14.An alarm on API latency keeps flipping between OK and ALARM because of single brief spikes. You want it to fire only when 3 of the last 5 minutes breach. What do you change?
✓ Correct: B. Set datapoints to alarm to 3 and evaluation periods to 5
How to think about it: Avoid flapping = M out of N datapoints to alarm.
Why B is correct: M out of N evaluation requires 3 breaching points in any 5-period window before the state changes.
Why the others are wrong:
A) Treat missing data as breaching — This changes how gaps are handled, not how spikes are counted.
C) Switch the metric to high resolution — Finer data would surface even more short spikes.
D) Put the alarm inside a composite alarm alone — A composite with one child still follows the same flapping child.
How to think about it: Avoid flapping = M out of N datapoints to alarm.
Why B is correct: M out of N evaluation requires 3 breaching points in any 5-period window before the state changes.
Why the others are wrong:
A) Treat missing data as breaching — This changes how gaps are handled, not how spikes are counted.
C) Switch the metric to high resolution — Finer data would surface even more short spikes.
D) Put the alarm inside a composite alarm alone — A composite with one child still follows the same flapping child.
Q15.When a critical alarm enters ALARM, a multi-step runbook in Step Functions must start automatically. Which design fits?
✓ Correct: D. EventBridge rule on the alarm state change, targeting Step Functions
How to think about it: Alarm state changes are events: EventBridge rule to many targets (Step Functions, Lambda, SQS).
Why D is correct: Alarm state changes are emitted to EventBridge, which can start a state machine directly.
Why the others are wrong:
A) The EC2 reboot action on the alarm — Rebooting one instance is not a multi-step runbook.
B) An alarm status widget on a CloudWatch dashboard — Widgets show state but cannot trigger workflows.
C) An SNS topic with an email subscription for the on-call team — Email notifies a person but starts no automation.
How to think about it: Alarm state changes are events: EventBridge rule to many targets (Step Functions, Lambda, SQS).
Why D is correct: Alarm state changes are emitted to EventBridge, which can start a state machine directly.
Why the others are wrong:
A) The EC2 reboot action on the alarm — Rebooting one instance is not a multi-step runbook.
B) An alarm status widget on a CloudWatch dashboard — Widgets show state but cannot trigger workflows.
C) An SNS topic with an email subscription for the on-call team — Email notifies a person but starts no automation.
Q16.In CloudWatch Logs, what is the relationship between a log group and a log stream?
✓ Correct: A. A log group holds many log streams, each from one source
How to think about it: Log group = the app; log stream = one source (instance, container, file).
Why A is correct: Groups usually represent an application, and each instance, container or file writes its own stream.
Why the others are wrong:
B) They are two names for the same object — They are distinct levels with different settings such as retention on the group.
C) Log streams are only used for VPC Flow Logs — Every log source writes to streams, not only Flow Logs.
D) A log stream holds many log groups — The hierarchy is the other way round: groups contain streams.
How to think about it: Log group = the app; log stream = one source (instance, container, file).
Why A is correct: Groups usually represent an application, and each instance, container or file writes its own stream.
Why the others are wrong:
B) They are two names for the same object — They are distinct levels with different settings such as retention on the group.
C) Log streams are only used for VPC Flow Logs — Every log source writes to streams, not only Flow Logs.
D) A log stream holds many log groups — The hierarchy is the other way round: groups contain streams.
Q17.A new log group is created by an application with default settings. How long are its events kept?
✓ Correct: A. Forever (never expire)
How to think about it: Default log retention = never expire; set a retention policy to control cost.
Why A is correct: New log groups never expire by default, so you should set retention to control storage cost.
Why the others are wrong:
B) 14 days, then archived — Fourteen days is an option, not the default.
C) 90 days, matching CloudTrail — Ninety days is unrelated to CloudWatch Logs defaults.
D) 30 days, then deleted — Thirty days is a common choice you can set, not the default.
How to think about it: Default log retention = never expire; set a retention policy to control cost.
Why A is correct: New log groups never expire by default, so you should set retention to control storage cost.
Why the others are wrong:
B) 14 days, then archived — Fourteen days is an option, not the default.
C) 90 days, matching CloudTrail — Ninety days is unrelated to CloudWatch Logs defaults.
D) 30 days, then deleted — Thirty days is a common choice you can set, not the default.
Q18.Compliance requires that log data in CloudWatch Logs be encrypted with a key the company controls. What should you do?
✓ Correct: B. Associate a customer managed KMS key with the log group
How to think about it: CloudWatch Logs encryption = associate a KMS key with the log group.
Why B is correct: Log groups can be encrypted with a KMS key you control, whose policy must allow the Logs service.
Why the others are wrong:
A) Turn on TLS for the CloudWatch agent — Agent traffic already uses TLS; this does not change encryption at rest.
C) Store the logs in Parameter Store SecureString — Parameter Store is for configuration values, not log streams.
D) Enable SSE-S3 on the log group — SSE-S3 is an S3 encryption option and does not apply to log groups.
How to think about it: CloudWatch Logs encryption = associate a KMS key with the log group.
Why B is correct: Log groups can be encrypted with a KMS key you control, whose policy must allow the Logs service.
Why the others are wrong:
A) Turn on TLS for the CloudWatch agent — Agent traffic already uses TLS; this does not change encryption at rest.
C) Store the logs in Parameter Store SecureString — Parameter Store is for configuration values, not log streams.
D) Enable SSE-S3 on the log group — SSE-S3 is an S3 encryption option and does not apply to log groups.
Q19.Operations wants a CloudWatch metric that counts how many log lines contain ERROR, so it can alarm on it. What do you create?
✓ Correct: C. A metric filter on the log group
How to think about it: Count a pattern in logs = metric filter.
Why C is correct: A metric filter matches a pattern in incoming events and increments a metric you can alarm on.
Why the others are wrong:
A) An export task to S3 — Exports copy data for archiving; they do not produce metrics.
B) A subscription filter to Lambda — A subscription streams events to a destination; counting would need custom code.
D) A Logs Insights saved query — Insights runs queries on demand and does not continuously publish a metric.
How to think about it: Count a pattern in logs = metric filter.
Why C is correct: A metric filter matches a pattern in incoming events and increments a metric you can alarm on.
Why the others are wrong:
A) An export task to S3 — Exports copy data for archiving; they do not produce metrics.
B) A subscription filter to Lambda — A subscription streams events to a destination; counting would need custom code.
D) A Logs Insights saved query — Insights runs queries on demand and does not continuously publish a metric.
Q20.A metric filter was added today. Why does its metric show nothing for last week's errors?
✓ Correct: A. Metric filters only evaluate events ingested after the filter is created
How to think about it: Metric filters are not retroactive: only new events count.
Why A is correct: Filters apply to new log data, so historical events are never counted.
Why the others are wrong:
B) Metric filters need detailed monitoring to be enabled — Detailed monitoring is an EC2 setting and has nothing to do with log filters.
C) Metric filters only process logs from the CloudWatch agent — Filters work on any events in the group, whatever their source.
D) The log group must be encrypted for filters to work — Encryption does not affect metric filter evaluation.
How to think about it: Metric filters are not retroactive: only new events count.
Why A is correct: Filters apply to new log data, so historical events are never counted.
Why the others are wrong:
B) Metric filters need detailed monitoring to be enabled — Detailed monitoring is an EC2 setting and has nothing to do with log filters.
C) Metric filters only process logs from the CloudWatch agent — Filters work on any events in the group, whatever their source.
D) The log group must be encrypted for filters to work — Encryption does not affect metric filter evaluation.
Q21.An engineer needs to search several log groups right now for the 20 slowest requests in the last hour. Which feature fits?
✓ Correct: D. CloudWatch Logs Insights
How to think about it: Ad-hoc query over logs = CloudWatch Logs Insights.
Why D is correct: Insights runs interactive queries with filtering, stats and sorting across log groups and can add results to dashboards.
Why the others are wrong:
A) An export task followed by manual download — Exports can take hours and are not interactive.
B) A metric filter with a high threshold — Metric filters count matches going forward and cannot rank past requests.
C) CloudWatch Synthetics — Synthetics runs canary scripts against endpoints; it does not query logs.
How to think about it: Ad-hoc query over logs = CloudWatch Logs Insights.
Why D is correct: Insights runs interactive queries with filtering, stats and sorting across log groups and can add results to dashboards.
Why the others are wrong:
A) An export task followed by manual download — Exports can take hours and are not interactive.
B) A metric filter with a high threshold — Metric filters count matches going forward and cannot rank past requests.
C) CloudWatch Synthetics — Synthetics runs canary scripts against endpoints; it does not query logs.
Q22.Which statement about exporting a log group to S3 with CreateExportTask is true?
✓ Correct: D. It is a batch job that can take up to 12 hours
How to think about it: Export to S3 = batch, can take up to 12 h; real time = subscription filter.
Why D is correct: Export tasks are not real-time; use subscription filters for streaming.
Why the others are wrong:
A) It works only with unencrypted buckets — Export destinations can use SSE-S3 or SSE-KMS encryption.
B) It streams each event to S3 within seconds — Streaming is what subscription filters do, not exports.
C) It converts logs into CloudWatch metrics — Exports copy raw log data and create no metrics.
How to think about it: Export to S3 = batch, can take up to 12 h; real time = subscription filter.
Why D is correct: Export tasks are not real-time; use subscription filters for streaming.
Why the others are wrong:
A) It works only with unencrypted buckets — Export destinations can use SSE-S3 or SSE-KMS encryption.
B) It streams each event to S3 within seconds — Streaming is what subscription filters do, not exports.
C) It converts logs into CloudWatch metrics — Exports copy raw log data and create no metrics.
Q23.A Lambda function runs successfully but no log group ever appears for it. What is the most likely cause?
✓ Correct: B. The execution role lacks CloudWatch Logs write permissions
How to think about it: Lambda logging needs logs:CreateLogGroup/CreateLogStream/PutLogEvents on its execution role.
Why B is correct: Lambda writes logs as its execution role, so without these permissions nothing is created.
Why the others are wrong:
A) The log group retention is set to one day — Retention removes old events but does not stop a group being created.
C) Lambda logs only go to S3 by default — Lambda sends logs to CloudWatch Logs by default, not to S3.
D) The CloudWatch agent is not installed in the function — Lambda sends logs itself; no agent is installed in functions.
How to think about it: Lambda logging needs logs:CreateLogGroup/CreateLogStream/PutLogEvents on its execution role.
Why B is correct: Lambda writes logs as its execution role, so without these permissions nothing is created.
Why the others are wrong:
A) The log group retention is set to one day — Retention removes old events but does not stop a group being created.
C) Lambda logs only go to S3 by default — Lambda sends logs to CloudWatch Logs by default, not to S3.
D) The CloudWatch agent is not installed in the function — Lambda sends logs itself; no agent is installed in functions.
Q24.Application logs must be searchable in CloudWatch for 30 days but kept for 7 years at the lowest cost. What design fits?
✓ Correct: B. 30-day retention plus Firehose to S3 with lifecycle to Glacier
How to think about it: Short hot retention in CloudWatch + stream to S3 via Firehose + lifecycle to Glacier.
Why B is correct: CloudWatch keeps recent logs searchable, while S3 and Glacier hold the long-term copy cheaply.
Why the others are wrong:
A) A metric filter that keeps a count of every log line — Counts lose the actual log content needed for retention.
C) Daily Logs Insights queries saved as dashboards — Saved queries keep no log data once the group's retention expires.
D) Never-expire retention on the log group for 7 years — Keeping years of logs in CloudWatch costs far more than S3 archival storage.
How to think about it: Short hot retention in CloudWatch + stream to S3 via Firehose + lifecycle to Glacier.
Why B is correct: CloudWatch keeps recent logs searchable, while S3 and Glacier hold the long-term copy cheaply.
Why the others are wrong:
A) A metric filter that keeps a count of every log line — Counts lose the actual log content needed for retention.
C) Daily Logs Insights queries saved as dashboards — Saved queries keep no log data once the group's retention expires.
D) Never-expire retention on the log group for 7 years — Keeping years of logs in CloudWatch costs far more than S3 archival storage.
Q25.Security wants a continuously updated ranking of the source IPs generating the most rejected connections in VPC Flow Logs. Which CloudWatch feature fits?
✓ Correct: A. CloudWatch Contributor Insights rules on the flow log group
How to think about it: Top-N contributors over time = Contributor Insights.
Why A is correct: Contributor Insights analyses log events continuously and ranks the top contributors such as source IPs.
Why the others are wrong:
B) An alarm on the NAT gateway's BytesOutToDestination — That metric totals bytes and does not break traffic down by source IP.
C) A single metric filter on REJECT — A metric filter gives a total count but cannot rank individual IP addresses.
D) CloudWatch Synthetics heartbeat canary — A heartbeat canary checks endpoint availability, not traffic sources.
How to think about it: Top-N contributors over time = Contributor Insights.
Why A is correct: Contributor Insights analyses log events continuously and ranks the top contributors such as source IPs.
Why the others are wrong:
B) An alarm on the NAT gateway's BytesOutToDestination — That metric totals bytes and does not break traffic down by source IP.
C) A single metric filter on REJECT — A metric filter gives a total count but cannot rank individual IP addresses.
D) CloudWatch Synthetics heartbeat canary — A heartbeat canary checks endpoint availability, not traffic sources.
Q26.Log events must reach a processing system within seconds of being written. What should you configure on the log group?
✓ Correct: D. A subscription filter
How to think about it: Real-time log delivery = subscription filter.
Why D is correct: Subscription filters stream matching events to destinations such as Kinesis or Lambda as they arrive.
Why the others are wrong:
A) An export task to S3 — Exports are batch jobs that can take hours.
B) A metric filter — Metric filters produce numbers, not a stream of the events themselves.
C) A longer retention period — Retention controls how long data is kept, not where it goes.
How to think about it: Real-time log delivery = subscription filter.
Why D is correct: Subscription filters stream matching events to destinations such as Kinesis or Lambda as they arrive.
Why the others are wrong:
A) An export task to S3 — Exports are batch jobs that can take hours.
B) A metric filter — Metric filters produce numbers, not a stream of the events themselves.
C) A longer retention period — Retention controls how long data is kept, not where it goes.
Q27.Which of these is a valid direct destination for a CloudWatch Logs subscription filter?
✓ Correct: A. Amazon Kinesis Data Streams
How to think about it: Subscription destinations = Kinesis Data Streams, Firehose, Lambda, OpenSearch.
Why A is correct: Kinesis Data Streams is a native subscription destination for real-time processing.
Why the others are wrong:
B) Amazon SNS — SNS is not a supported subscription filter destination.
C) Amazon SQS — SQS is not a supported subscription filter destination.
D) Amazon DynamoDB — DynamoDB cannot be a subscription destination without custom code in between.
How to think about it: Subscription destinations = Kinesis Data Streams, Firehose, Lambda, OpenSearch.
Why A is correct: Kinesis Data Streams is a native subscription destination for real-time processing.
Why the others are wrong:
B) Amazon SNS — SNS is not a supported subscription filter destination.
C) Amazon SQS — SQS is not a supported subscription filter destination.
D) Amazon DynamoDB — DynamoDB cannot be a subscription destination without custom code in between.
Q28.Logs must land in S3 in near real time, batched and compressed, with no servers or custom code. Which subscription destination fits?
✓ Correct: A. Amazon Data Firehose delivering to S3
How to think about it: Logs to S3 near real time, managed = Firehose.
Why A is correct: Firehose buffers, compresses and writes to S3 within about a minute without code.
Why the others are wrong:
B) Kinesis Data Streams alone — Streams need a consumer to write to S3, so this is not complete.
C) A Lambda function that writes each event to S3 — This works but is custom code and creates many small objects.
D) CreateExportTask on a schedule — Exports are batch and can take up to 12 hours.
How to think about it: Logs to S3 near real time, managed = Firehose.
Why A is correct: Firehose buffers, compresses and writes to S3 within about a minute without code.
Why the others are wrong:
B) Kinesis Data Streams alone — Streams need a consumer to write to S3, so this is not complete.
C) A Lambda function that writes each event to S3 — This works but is custom code and creates many small objects.
D) CreateExportTask on a schedule — Exports are batch and can take up to 12 hours.
Q29.How many subscription filters can a single log group have?
✓ Correct: D. Two
How to think about it: Subscription filters per log group = 2.
Why D is correct: Each log group supports up to two subscription filters.
Why the others are wrong:
A) Unlimited — There is a fixed quota of two subscription filters per log group.
B) Ten — Ten is too many; the quota is two per log group.
C) One — The limit was raised from one; two are allowed now.
How to think about it: Subscription filters per log group = 2.
Why D is correct: Each log group supports up to two subscription filters.
Why the others are wrong:
A) Unlimited — There is a fixed quota of two subscription filters per log group.
B) Ten — Ten is too many; the quota is two per log group.
C) One — The limit was raised from one; two are allowed now.
Q30.Log groups in many accounts and Regions must be streamed into one central account for analysis. What is the standard design?
✓ Correct: A. A central Logs destination on Kinesis, subscribed from each account
How to think about it: Central log aggregation = Logs destination (backed by Kinesis) + destination policy + subscriptions in each account.
Why A is correct: Each sender subscribes to the cross-account destination, whose policy allows those accounts to send.
Why the others are wrong:
B) VPC peering between all accounts and the central account — Log delivery happens through the service, not over peered VPCs.
C) A CloudWatch dashboard that shows logs from all accounts — Dashboards display data; they do not copy logs centrally for processing.
D) S3 Cross-Region Replication of each account's log groups — Log groups are not S3 objects and cannot be replicated that way.
How to think about it: Central log aggregation = Logs destination (backed by Kinesis) + destination policy + subscriptions in each account.
Why A is correct: Each sender subscribes to the cross-account destination, whose policy allows those accounts to send.
Why the others are wrong:
B) VPC peering between all accounts and the central account — Log delivery happens through the service, not over peered VPCs.
C) A CloudWatch dashboard that shows logs from all accounts — Dashboards display data; they do not copy logs centrally for processing.
D) S3 Cross-Region Replication of each account's log groups — Log groups are not S3 objects and cannot be replicated that way.
Q31.Every log group in an account, including those created in future, must stream to Firehose without adding a filter to each group. What should you use?
✓ Correct: A. An account-level subscription filter policy
How to think about it: All log groups, present and future = account-level subscription filter policy.
Why A is correct: An account policy applies a subscription to all log groups, or a selection, including new ones.
Why the others are wrong:
B) A metric filter policy for the account — Metric filters create metrics, not delivery to Firehose.
C) A Lambda that adds a filter to each group every night — This works but leaves gaps between runs and is custom code.
D) An SCP requiring a subscription on each log group — SCPs restrict actions; they cannot create subscriptions.
How to think about it: All log groups, present and future = account-level subscription filter policy.
Why A is correct: An account policy applies a subscription to all log groups, or a selection, including new ones.
Why the others are wrong:
B) A metric filter policy for the account — Metric filters create metrics, not delivery to Firehose.
C) A Lambda that adds a filter to each group every night — This works but leaves gaps between runs and is custom code.
D) An SCP requiring a subscription on each log group — SCPs restrict actions; they cannot create subscriptions.
Q32.Application logs must be searchable in Amazon OpenSearch Service in near real time with the least custom code. What is the simplest option?
✓ Correct: A. A subscription filter that streams the log group to OpenSearch
How to think about it: Logs to OpenSearch = subscription filter to OpenSearch (AWS-managed Lambda) or Firehose.
Why A is correct: CloudWatch Logs can stream to OpenSearch through an AWS-provided Lambda function without your own code.
Why the others are wrong:
B) A metric filter that forwards events to OpenSearch — Metric filters only produce metrics; they forward no events.
C) A daily export to S3 followed by manual loading — Exports are slow batch jobs and loading is manual.
D) Logs Insights queries copied into OpenSearch — Copying query results by hand is neither real time nor automated.
How to think about it: Logs to OpenSearch = subscription filter to OpenSearch (AWS-managed Lambda) or Firehose.
Why A is correct: CloudWatch Logs can stream to OpenSearch through an AWS-provided Lambda function without your own code.
Why the others are wrong:
B) A metric filter that forwards events to OpenSearch — Metric filters only produce metrics; they forward no events.
C) A daily export to S3 followed by manual loading — Exports are slow batch jobs and loading is manual.
D) Logs Insights queries copied into OpenSearch — Copying query results by hand is neither real time nor automated.
Q33.You need memory utilisation and free disk space from EC2 instances in CloudWatch. What must you install?
✓ Correct: D. The unified CloudWatch agent
How to think about it: Inside-the-OS metrics (RAM, disk) = unified CloudWatch agent.
Why D is correct: The agent reads OS-level data such as memory and disk use and publishes it as custom metrics.
Why the others are wrong:
A) The Amazon Inspector agent — Inspector looks for vulnerabilities; it does not publish CloudWatch metrics.
B) The Systems Manager agent only — SSM Agent helps install the CloudWatch agent but does not publish these metrics itself.
C) Detailed monitoring — Detailed monitoring only makes the built-in hypervisor metrics more frequent.
How to think about it: Inside-the-OS metrics (RAM, disk) = unified CloudWatch agent.
Why D is correct: The agent reads OS-level data such as memory and disk use and publishes it as custom metrics.
Why the others are wrong:
A) The Amazon Inspector agent — Inspector looks for vulnerabilities; it does not publish CloudWatch metrics.
B) The Systems Manager agent only — SSM Agent helps install the CloudWatch agent but does not publish these metrics itself.
C) Detailed monitoring — Detailed monitoring only makes the built-in hypervisor metrics more frequent.
Q34.Can the CloudWatch agent send logs and metrics from on-premises servers?
✓ Correct: A. Yes, given credentials that allow CloudWatch writes
How to think about it: CloudWatch agent works on EC2 and on-premises (with credentials).
Why A is correct: The agent runs on on-premises Linux and Windows hosts and uses configured credentials to publish.
Why the others are wrong:
B) Only for logs, never for metrics — On-premises agents can publish both metrics and logs.
C) Only through a Direct Connect private link — Connectivity can use the internet; Direct Connect is not required.
D) No, it only runs on Amazon EC2 instances — The agent also supports servers outside AWS.
How to think about it: CloudWatch agent works on EC2 and on-premises (with credentials).
Why A is correct: The agent runs on on-premises Linux and Windows hosts and uses configured credentials to publish.
Why the others are wrong:
B) Only for logs, never for metrics — On-premises agents can publish both metrics and logs.
C) Only through a Direct Connect private link — Connectivity can use the internet; Direct Connect is not required.
D) No, it only runs on Amazon EC2 instances — The agent also supports servers outside AWS.
Q35.How can you install the CloudWatch agent on 200 existing EC2 instances without logging in to each?
✓ Correct: B. Run Command with the AWS-ConfigureAWSPackage document
How to think about it: Fleet install = SSM Run Command with AWS-ConfigureAWSPackage (AmazonCloudWatchAgent).
Why B is correct: Run Command installs the AmazonCloudWatchAgent package on many managed instances at once.
Why the others are wrong:
A) Edit the user data of each running instance — User data runs at launch, so changing it does not affect running instances.
C) Enable detailed monitoring on the instances — Detailed monitoring changes metric frequency and installs nothing.
D) Attach the CloudWatchAgentServerPolicy only — The policy grants permissions but does not install software.
How to think about it: Fleet install = SSM Run Command with AWS-ConfigureAWSPackage (AmazonCloudWatchAgent).
Why B is correct: Run Command installs the AmazonCloudWatchAgent package on many managed instances at once.
Why the others are wrong:
A) Edit the user data of each running instance — User data runs at launch, so changing it does not affect running instances.
C) Enable detailed monitoring on the instances — Detailed monitoring changes metric frequency and installs nothing.
D) Attach the CloudWatchAgentServerPolicy only — The policy grants permissions but does not install software.
Q36.Where is the recommended place to store one shared CloudWatch agent configuration for the whole fleet?
✓ Correct: A. SSM Parameter Store
How to think about it: Shared agent config = SSM Parameter Store.
Why A is correct: Instances download the agent configuration from a parameter, so one update reaches the whole fleet.
Why the others are wrong:
B) An EBS snapshot — Snapshots back up volumes and are not used to distribute configuration.
C) A CloudWatch dashboard — Dashboards display data and cannot hold agent configuration.
D) AWS Secrets Manager — The configuration is not a secret and needs no rotation.
How to think about it: Shared agent config = SSM Parameter Store.
Why A is correct: Instances download the agent configuration from a parameter, so one update reaches the whole fleet.
Why the others are wrong:
B) An EBS snapshot — Snapshots back up volumes and are not used to distribute configuration.
C) A CloudWatch dashboard — Dashboards display data and cannot hold agent configuration.
D) AWS Secrets Manager — The configuration is not a secret and needs no rotation.
Q37.The CloudWatch agent must stay installed and configured on every instance, including ones launched later by Auto Scaling, with drift corrected automatically. What should you use?
✓ Correct: A. A State Manager association for the agent
How to think about it: Keep instances in a desired state over time = SSM State Manager association.
Why A is correct: State Manager reapplies the association on a schedule and to new matching instances.
Why the others are wrong:
B) An EventBridge archive of instance launch events — Archives store events for replay and do not configure instances.
C) A single Run Command execution — Run Command is one-off and misses instances launched afterwards.
D) A CloudWatch alarm that fires on missing metrics — An alarm could notice the gap but would not install anything.
How to think about it: Keep instances in a desired state over time = SSM State Manager association.
Why A is correct: State Manager reapplies the association on a schedule and to new matching instances.
Why the others are wrong:
B) An EventBridge archive of instance launch events — Archives store events for replay and do not configure instances.
C) A single Run Command execution — Run Command is one-off and misses instances launched afterwards.
D) A CloudWatch alarm that fires on missing metrics — An alarm could notice the gap but would not install anything.
Q38.A team wants to detect a broken checkout page before customers report it, by running scripted user actions every five minutes. What should it use?
✓ Correct: C. A CloudWatch Synthetics canary
How to think about it: Scripted user journeys on a schedule = CloudWatch Synthetics canary.
Why C is correct: Canaries run scripts in a headless browser on a schedule and record availability, latency and screenshots.
Why the others are wrong:
A) CloudWatch Logs Insights — Insights queries existing logs and cannot drive a browser.
B) Route 53 Resolver query logging — Query logging records DNS lookups, not page behaviour.
D) AWS X-Ray sampling rules — Sampling controls which real requests are traced, not synthetic tests.
How to think about it: Scripted user journeys on a schedule = CloudWatch Synthetics canary.
Why C is correct: Canaries run scripts in a headless browser on a schedule and record availability, latency and screenshots.
Why the others are wrong:
A) CloudWatch Logs Insights — Insights queries existing logs and cannot drive a browser.
B) Route 53 Resolver query logging — Query logging records DNS lookups, not page behaviour.
D) AWS X-Ray sampling rules — Sampling controls which real requests are traced, not synthetic tests.
Q39.Which canary blueprint compares a screenshot from each run with a baseline image?
✓ Correct: B. Visual monitoring
How to think about it: Screenshot vs baseline = visual monitoring.
Why B is correct: This blueprint flags runs whose screenshot differs from the stored baseline.
Why the others are wrong:
A) API canary — API canaries test REST API calls, not page appearance.
C) Heartbeat monitor — Heartbeat loads a URL and saves a screenshot but does not compare it.
D) Broken link checker — This blueprint follows links to find broken ones.
How to think about it: Screenshot vs baseline = visual monitoring.
Why B is correct: This blueprint flags runs whose screenshot differs from the stored baseline.
Why the others are wrong:
A) API canary — API canaries test REST API calls, not page appearance.
C) Heartbeat monitor — Heartbeat loads a URL and saves a screenshot but does not compare it.
D) Broken link checker — This blueprint follows links to find broken ones.
Q40.Which canary blueprint crawls a page and reports links that return errors?
✓ Correct: C. Broken link checker
How to think about it: Dead links on a site = broken link checker.
Why C is correct: It collects the links on the tested URL and checks each one for failures.
Why the others are wrong:
A) Visual monitoring — Visual monitoring compares screenshots with a baseline.
B) Heartbeat monitor — Heartbeat checks one URL loads, not every link.
D) Canary recorder — The recorder turns your recorded browser actions into a script.
How to think about it: Dead links on a site = broken link checker.
Why C is correct: It collects the links on the tested URL and checks each one for failures.
Why the others are wrong:
A) Visual monitoring — Visual monitoring compares screenshots with a baseline.
B) Heartbeat monitor — Heartbeat checks one URL loads, not every link.
D) Canary recorder — The recorder turns your recorded browser actions into a script.
Q41.A canary should verify that users can sign in through a web form and reach their dashboard. Which blueprint fits best?
✓ Correct: D. GUI workflow builder
How to think about it: Multi-step UI actions like a login form = GUI workflow builder.
Why D is correct: This blueprint scripts a sequence of UI actions, such as filling a login form, and checks each step.
Why the others are wrong:
A) API canary — API canaries call REST endpoints, not browser forms.
B) Heartbeat monitor — Heartbeat only loads a page and cannot complete a form.
C) Broken link checker — Checking links does not prove a sign-in works.
How to think about it: Multi-step UI actions like a login form = GUI workflow builder.
Why D is correct: This blueprint scripts a sequence of UI actions, such as filling a login form, and checks each step.
Why the others are wrong:
A) API canary — API canaries call REST endpoints, not browser forms.
B) Heartbeat monitor — Heartbeat only loads a page and cannot complete a form.
C) Broken link checker — Checking links does not prove a sign-in works.
Q42.An active-passive web app must fail over DNS to the standby Region when a canary shows the primary site is down. What design fits?
✓ Correct: C. Canary alarm invoking a Lambda that updates Route 53
How to think about it: Canary fails = alarm = Lambda updates Route 53.
Why C is correct: The canary's success metric drives an alarm, and automation switches DNS to the healthy Region.
Why the others are wrong:
A) An X-Ray service map refreshed every minute — Service maps help diagnose, but they trigger no failover.
B) A Logs Insights query run by an operator — Manual querying is slow and is not automatic failover.
D) A Health Dashboard notification only — Health covers AWS service events, not your application's availability.
How to think about it: Canary fails = alarm = Lambda updates Route 53.
Why C is correct: The canary's success metric drives an alarm, and automation switches DNS to the healthy Region.
Why the others are wrong:
A) An X-Ray service map refreshed every minute — Service maps help diagnose, but they trigger no failover.
B) A Logs Insights query run by an operator — Manual querying is slow and is not automatic failover.
D) A Health Dashboard notification only — Health covers AWS service events, not your application's availability.
Q43.A Lambda clean-up job must run every day at 02:00 UTC with no servers. What should you use?
✓ Correct: B. Amazon EventBridge Scheduler with a cron expression
How to think about it: Cron in the cloud = EventBridge Scheduler (or a scheduled rule).
Why B is correct: Scheduler invokes targets such as Lambda on cron or rate schedules, fully managed.
Why the others are wrong:
A) A CloudWatch Synthetics canary — Canaries test endpoints and are not a general job scheduler.
C) An SQS delay queue — Delay queues hold messages for at most 15 minutes.
D) A CloudWatch alarm with a time threshold — Alarms react to metric values, not clock times.
How to think about it: Cron in the cloud = EventBridge Scheduler (or a scheduled rule).
Why B is correct: Scheduler invokes targets such as Lambda on cron or rate schedules, fully managed.
Why the others are wrong:
A) A CloudWatch Synthetics canary — Canaries test endpoints and are not a general job scheduler.
C) An SQS delay queue — Delay queues hold messages for at most 15 minutes.
D) A CloudWatch alarm with a time threshold — Alarms react to metric values, not clock times.
Q44.Every time an EC2 instance changes to the stopped state, a message must go to an SNS topic. What is the simplest setup?
✓ Correct: C. EventBridge rule on EC2 state-change events, SNS target
How to think about it: React to a service doing something = EventBridge rule with an event pattern.
Why C is correct: AWS services emit events to the default bus, and a rule's pattern selects them for the target.
Why the others are wrong:
A) An AWS Config rule run every 24 hours — A daily evaluation is not immediate and is meant for compliance.
B) A Synthetics canary pinging each instance — Pings show reachability, not state-change events.
D) A CloudWatch Logs metric filter on instance logs — Instance logs do not reliably record state changes, and filters do not notify by themselves.
How to think about it: React to a service doing something = EventBridge rule with an event pattern.
Why C is correct: AWS services emit events to the default bus, and a rule's pattern selects them for the target.
Why the others are wrong:
A) An AWS Config rule run every 24 hours — A daily evaluation is not immediate and is meant for compliance.
B) A Synthetics canary pinging each instance — Pings show reachability, not state-change events.
D) A CloudWatch Logs metric filter on instance logs — Instance logs do not reliably record state changes, and filters do not notify by themselves.
Q45.Events from a SaaS provider such as a ticketing platform must be received in AWS without building a webhook. Which bus receives them?
✓ Correct: D. A partner event bus
How to think about it: SaaS integrations = partner event bus.
Why D is correct: Supported SaaS partners publish events to a partner event source that you attach to a partner bus.
Why the others are wrong:
A) The default event bus — The default bus receives AWS service events, not partner events.
B) An SNS topic — SNS is not how EventBridge partner integrations deliver events.
C) An SQS FIFO queue — Queues are not where EventBridge partner sources deliver.
How to think about it: SaaS integrations = partner event bus.
Why D is correct: Supported SaaS partners publish events to a partner event source that you attach to a partner bus.
Why the others are wrong:
A) The default event bus — The default bus receives AWS service events, not partner events.
B) An SNS topic — SNS is not how EventBridge partner integrations deliver events.
C) An SQS FIFO queue — Queues are not where EventBridge partner sources deliver.
Q46.Events must be kept for 30 days so they can be sent again later. Which EventBridge feature does this?
✓ Correct: B. Event archive with replay
How to think about it: Keep and resend events = archive and replay.
Why B is correct: An archive stores all or filtered events for a set period, and replay resends them to the bus.
Why the others are wrong:
A) Dead-letter queue on a rule — A DLQ captures failed deliveries only, not all events.
C) Input transformer — Input transformers reshape events for a target and store nothing.
D) Schema registry — The registry records event structures; it does not keep the events.
How to think about it: Keep and resend events = archive and replay.
Why B is correct: An archive stores all or filtered events for a set period, and replay resends them to the bus.
Why the others are wrong:
A) Dead-letter queue on a rule — A DLQ captures failed deliveries only, not all events.
C) Input transformer — Input transformers reshape events for a target and store nothing.
D) Schema registry — The registry records event structures; it does not keep the events.
Q47.Developers want typed code bindings for the events on a custom bus without reading raw JSON. What helps?
✓ Correct: C. Schema registry with schema discovery
How to think about it: Infer event structure + generate code = schema registry.
Why C is correct: Discovery infers versioned schemas from events, and you can download code bindings for them.
Why the others are wrong:
A) AWS X-Ray annotations on traces — Annotations index trace data, not event schemas.
B) An EventBridge archive — Archives keep events for replay and generate no code.
D) CloudWatch Logs Insights — Insights queries logs; it does not generate application code.
How to think about it: Infer event structure + generate code = schema registry.
Why C is correct: Discovery infers versioned schemas from events, and you can download code bindings for them.
Why the others are wrong:
A) AWS X-Ray annotations on traces — Annotations index trace data, not event schemas.
B) An EventBridge archive — Archives keep events for replay and generate no code.
D) CloudWatch Logs Insights — Insights queries logs; it does not generate application code.
Q48.Which statement about EventBridge event buses is correct?
✓ Correct: D. Custom buses take app events and can be shared by policy
How to think about it: Buses: default (AWS), partner (SaaS), custom (your apps); share with a resource policy.
Why D is correct: Apps call PutEvents on a custom bus, and a bus policy can grant other accounts or the organization access.
Why the others are wrong:
A) An account can only ever have the default bus — You can create custom buses and partner buses as well.
B) Buses can only receive events from their own account — Resource-based policies allow cross-account events.
C) Event buses store every event forever by default — Events are not retained unless you create an archive.
How to think about it: Buses: default (AWS), partner (SaaS), custom (your apps); share with a resource policy.
Why D is correct: Apps call PutEvents on a custom bus, and a bus policy can grant other accounts or the organization access.
Why the others are wrong:
A) An account can only ever have the default bus — You can create custom buses and partner buses as well.
B) Buses can only receive events from their own account — Resource-based policies allow cross-account events.
C) Event buses store every event forever by default — Events are not retained unless you create an archive.
Q49.All EventBridge events from every account in an AWS Organization must be collected in one security account. How should the central bus be secured?
✓ Correct: C. A bus resource policy allowing PutEvents for the organization ID
How to think about it: Central event bus for the org = bus resource policy with aws:PrincipalOrgID.
Why C is correct: The policy lets any member account send while blocking outside accounts, and new accounts are included.
Why the others are wrong:
A) A VPC endpoint policy on each member VPC — Endpoint policies control network access, not which accounts a bus accepts.
B) An SCP granting events:PutEvents — SCPs only restrict permissions; they do not grant access to a bus.
D) An IAM user in the security account shared with all teams — Sharing a user's keys is insecure and does not route events.
How to think about it: Central event bus for the org = bus resource policy with aws:PrincipalOrgID.
Why C is correct: The policy lets any member account send while blocking outside accounts, and new accounts are included.
Why the others are wrong:
A) A VPC endpoint policy on each member VPC — Endpoint policies control network access, not which accounts a bus accepts.
B) An SCP granting events:PutEvents — SCPs only restrict permissions; they do not grant access to a bus.
D) An IAM user in the security account shared with all teams — Sharing a user's keys is insecure and does not route events.
Q50.A bug in a consumer corrupted orders for six hours. After fixing it, the team wants to reprocess those events. What should already be in place?
✓ Correct: C. An archive on the bus, then replay the six-hour window
How to think about it: Reprocess past events = archive then replay a time window.
Why C is correct: Replay resends archived events from a chosen time range so the fixed consumer can process them again.
Why the others are wrong:
A) Higher retry settings on the target — Retries apply to delivery failures, not to events processed wrongly.
B) The schema registry's version history — Schemas describe structure; they do not hold event data.
D) A CloudWatch Logs export of the event bus — Buses do not export to logs by default, and an export cannot resend events.
How to think about it: Reprocess past events = archive then replay a time window.
Why C is correct: Replay resends archived events from a chosen time range so the fixed consumer can process them again.
Why the others are wrong:
A) Higher retry settings on the target — Retries apply to delivery failures, not to events processed wrongly.
B) The schema registry's version history — Schemas describe structure; they do not hold event data.
D) A CloudWatch Logs export of the event bus — Buses do not export to logs by default, and an export cannot resend events.
Q51.A rule's Lambda target is sometimes throttled, and events are lost after retries are exhausted. How do you keep them?
✓ Correct: B. Configure an SQS dead-letter queue on the rule target
How to think about it: Undeliverable events = DLQ (SQS) on the rule target + retry policy.
Why B is correct: Events that cannot be delivered after the retry policy are sent to the DLQ for later processing.
Why the others are wrong:
A) Create a second rule with the same pattern — A duplicate rule doubles deliveries but does not capture failed ones.
C) Increase the alarm evaluation period — Alarms are unrelated to EventBridge target delivery.
D) Enable schema discovery on the bus — Discovery records event structure only.
How to think about it: Undeliverable events = DLQ (SQS) on the rule target + retry policy.
Why B is correct: Events that cannot be delivered after the retry policy are sent to the DLQ for later processing.
Why the others are wrong:
A) Create a second rule with the same pattern — A duplicate rule doubles deliveries but does not capture failed ones.
C) Increase the alarm evaluation period — Alarms are unrelated to EventBridge target delivery.
D) Enable schema discovery on the bus — Discovery records event structure only.
Q52.Events produced in eu-west-1 must also be processed by a workflow that runs only in us-east-1. What is the simplest approach?
✓ Correct: A. A rule in eu-west-1 targeting the event bus in us-east-1
How to think about it: Move events across Regions = rule with another Region's event bus as target.
Why A is correct: EventBridge supports buses in other Regions as targets, so events flow across Regions natively.
Why the others are wrong:
B) A composite alarm spanning both Regions — Alarms watch metrics and do not forward events.
C) A VPC peering connection between the Regions — Event routing is a service feature and needs no customer networking.
D) S3 Cross-Region Replication of the events — Events are not S3 objects, so replication cannot move them.
How to think about it: Move events across Regions = rule with another Region's event bus as target.
Why A is correct: EventBridge supports buses in other Regions as targets, so events flow across Regions natively.
Why the others are wrong:
B) A composite alarm spanning both Regions — Alarms watch metrics and do not forward events.
C) A VPC peering connection between the Regions — Event routing is a service feature and needs no customer networking.
D) S3 Cross-Region Replication of the events — Events are not S3 objects, so replication cannot move them.
Q53.A request passes through API Gateway, three Lambda functions and DynamoDB. Which service shows where latency is added along that path?
✓ Correct: C. AWS X-Ray
How to think about it: End-to-end request tracing + service map = AWS X-Ray.
Why C is correct: X-Ray traces requests across services and shows a service map with latency and errors for each segment.
Why the others are wrong:
A) AWS CloudTrail — CloudTrail records control-plane API calls, not the timing of application requests.
B) VPC Flow Logs — Flow Logs capture IP flows and cannot follow a request through serverless services.
D) AWS Config — Config tracks resource configuration changes, not request latency.
How to think about it: End-to-end request tracing + service map = AWS X-Ray.
Why C is correct: X-Ray traces requests across services and shows a service map with latency and errors for each segment.
Why the others are wrong:
A) AWS CloudTrail — CloudTrail records control-plane API calls, not the timing of application requests.
B) VPC Flow Logs — Flow Logs capture IP flows and cannot follow a request through serverless services.
D) AWS Config — Config tracks resource configuration changes, not request latency.
Q54.How do you start sending X-Ray traces for an existing Lambda function?
✓ Correct: B. Enable active tracing on the function
How to think about it: Lambda + X-Ray = turn on active tracing.
Why B is correct: With active tracing, Lambda samples invocations and sends trace data, given X-Ray write permissions.
Why the others are wrong:
A) Enable detailed monitoring for the function — Detailed monitoring is an EC2 option, not a Lambda tracing switch.
C) Install the X-Ray agent inside the function's VPC — Lambda handles trace sending itself; no agent is installed.
D) Create a CloudWatch Logs subscription for its log group — Subscriptions stream logs and create no traces.
How to think about it: Lambda + X-Ray = turn on active tracing.
Why B is correct: With active tracing, Lambda samples invocations and sends trace data, given X-Ray write permissions.
Why the others are wrong:
A) Enable detailed monitoring for the function — Detailed monitoring is an EC2 option, not a Lambda tracing switch.
C) Install the X-Ray agent inside the function's VPC — Lambda handles trace sending itself; no agent is installed.
D) Create a CloudWatch Logs subscription for its log group — Subscriptions stream logs and create no traces.
Q55.You need to filter X-Ray traces by customer ID. Where should the ID be recorded?
✓ Correct: B. As an annotation on the segment
How to think about it: Searchable = annotations (indexed); extra detail = metadata (not indexed).
Why B is correct: Annotations are indexed key-value pairs, so you can filter traces by them.
Why the others are wrong:
A) As a tag on the Lambda function — Resource tags do not let you filter individual traces.
C) As a CloudWatch metric dimension — Dimensions apply to metrics, not to trace search.
D) As metadata on the segment — Metadata is stored with the trace but is not indexed for filtering.
How to think about it: Searchable = annotations (indexed); extra detail = metadata (not indexed).
Why B is correct: Annotations are indexed key-value pairs, so you can filter traces by them.
Why the others are wrong:
A) As a tag on the Lambda function — Resource tags do not let you filter individual traces.
C) As a CloudWatch metric dimension — Dimensions apply to metrics, not to trace search.
D) As metadata on the segment — Metadata is stored with the trace but is not indexed for filtering.
Q56.Tracing was added to an application on EC2, but no traces appear in X-Ray. The code and collector are running. What is the most likely cause?
✓ Correct: C. The instance role lacks X-Ray write permissions
How to think about it: X-Ray senders need IAM permission (xray:PutTraceSegments) on the instance role.
Why C is correct: Whatever collector forwards the segments needs permission such as PutTraceSegments to deliver them.
Why the others are wrong:
A) The VPC has no NAT gateway for CloudTrail — CloudTrail is unrelated to sending trace data.
B) Detailed monitoring is disabled on the instance — Metric frequency has no effect on trace delivery.
D) X-Ray works only with Lambda functions — X-Ray traces applications on EC2, containers and more.
How to think about it: X-Ray senders need IAM permission (xray:PutTraceSegments) on the instance role.
Why C is correct: Whatever collector forwards the segments needs permission such as PutTraceSegments to deliver them.
Why the others are wrong:
A) The VPC has no NAT gateway for CloudTrail — CloudTrail is unrelated to sending trace data.
B) Detailed monitoring is disabled on the instance — Metric frequency has no effect on trace delivery.
D) X-Ray works only with Lambda functions — X-Ray traces applications on EC2, containers and more.
Q57.Which view shows AWS events that affect your specific account's resources, such as scheduled maintenance on your instances?
✓ Correct: C. Your account health in AWS Health
How to think about it: Account-specific AWS events = AWS Health Dashboard, your account health.
Why C is correct: It lists issues and scheduled changes that affect your resources, with guidance on actions.
Why the others are wrong:
A) AWS Trusted Advisor cost checks — Cost checks show savings ideas, not service events.
B) The CloudTrail event history — CloudTrail shows API calls, not AWS service events or maintenance.
D) CloudWatch Logs Insights — Insights queries your logs, not AWS operational events.
How to think about it: Account-specific AWS events = AWS Health Dashboard, your account health.
Why C is correct: It lists issues and scheduled changes that affect your resources, with guidance on actions.
Why the others are wrong:
A) AWS Trusted Advisor cost checks — Cost checks show savings ideas, not service events.
B) The CloudTrail event history — CloudTrail shows API calls, not AWS service events or maintenance.
D) CloudWatch Logs Insights — Insights queries your logs, not AWS operational events.
Q58.Which support plan level is needed to call the AWS Health API programmatically?
✓ Correct: D. Business, Enterprise On-Ramp or Enterprise Support
How to think about it: AWS Health API = Business, Enterprise On-Ramp or Enterprise support.
Why D is correct: The Health API is available only to accounts on these support plans.
Why the others are wrong:
A) No plan; it is available to every account — API access depends on the support plan.
B) Developer Support — Developer Support does not include Health API access.
C) Basic Support — Basic accounts can see the dashboard but cannot call the Health API.
How to think about it: AWS Health API = Business, Enterprise On-Ramp or Enterprise support.
Why D is correct: The Health API is available only to accounts on these support plans.
Why the others are wrong:
A) No plan; it is available to every account — API access depends on the support plan.
B) Developer Support — Developer Support does not include Health API access.
C) Basic Support — Basic accounts can see the dashboard but cannot call the Health API.
Q59.Engineers must get an email automatically whenever AWS schedules maintenance for EC2 instances in the account. What should you configure?
✓ Correct: A. EventBridge rule on AWS Health EC2 events, targeting SNS
How to think about it: React to Health events = EventBridge rule on aws.health to SNS.
Why A is correct: Health events reach EventBridge, so a rule can match EC2 maintenance and email through SNS.
Why the others are wrong:
B) A Synthetics canary against each instance — Canaries test endpoints and know nothing of planned maintenance.
C) A Config rule on instance types — Config rules check configuration, not AWS maintenance schedules.
D) A CloudWatch alarm on StatusCheckFailed_System — This fires on hardware failure, not on advance maintenance notices.
How to think about it: React to Health events = EventBridge rule on aws.health to SNS.
Why A is correct: Health events reach EventBridge, so a rule can match EC2 maintenance and email through SNS.
Why the others are wrong:
B) A Synthetics canary against each instance — Canaries test endpoints and know nothing of planned maintenance.
C) A Config rule on instance types — Config rules check configuration, not AWS maintenance schedules.
D) A CloudWatch alarm on StatusCheckFailed_System — This fires on hardware failure, not on advance maintenance notices.
Q60.A central operations team must see AWS Health events for every account in the organization in one place. What should they enable?
✓ Correct: D. AWS Health organizational view
How to think about it: Org-wide Health events = organizational view (with a delegated administrator if wanted).
Why D is correct: Organizational view aggregates Health events from all member accounts for central review.
Why the others are wrong:
A) Security Hub with every standard enabled — Security Hub aggregates security findings, not Health views.
B) CloudTrail organization trail — An organization trail collects API calls, not AWS Health events.
C) A CloudWatch dashboard in each member account — Per-account dashboards do not aggregate Health events.
How to think about it: Org-wide Health events = organizational view (with a delegated administrator if wanted).
Why D is correct: Organizational view aggregates Health events from all member accounts for central review.
Why the others are wrong:
A) Security Hub with every standard enabled — Security Hub aggregates security findings, not Health views.
B) CloudTrail organization trail — An organization trail collects API calls, not AWS Health events.
C) A CloudWatch dashboard in each member account — Per-account dashboards do not aggregate Health events.