Configure the collection, aggregation, and storage of logs and metrics.
16 practice questions under this official exam objective (DOP-C02), each with the answer key, an option-by-option explanation and instant feedback.
Questions under this objective
16 total · page 1 of 1Optimizing Amazon Timestream Query Performance
To achieve the fastest query performance in Amazon Timestream for high-frequency metrics, you must use batch writes and multi-measure records to minim
Send Redshift user activity audit logs to CloudWatch and display them with a CloudWatch Lo
Redshift database audit logging can include user activity logging, which records connections, disconnections, and the SQL statements users run. Config
Publish VPC Flow Logs to CloudWatch Logs and count RDP sessions with a log group metric fi
Counting daily RDP sessions requires a record of the connections themselves, and VPC Flow Logs capture the network metadata for traffic to and from th
Convert RDS storage autoscaling events into a CloudWatch custom metric with EventBridge an
Amazon RDS publishes storage autoscaling events through Amazon EventBridge, not through CloudTrail, so the dashboard must be fed from those events. An
EKS Cluster Metrics and Log Collection with CloudWatch
This question addresses the standard AWS-recommended architecture for collecting metrics and logs from Amazon EKS clusters using AWS Distro for OpenTe
Stream all CloudWatch metrics to Firehose, transform with Lambda, and deliver to S3
The analytics team must collect both performance metrics and custom metrics, transform the data, store it in Amazon S3, and automatically pick up any
Deploy the CloudWatch agent as a StatefulSet with IRSA and CloudWatchAgentServerPolicy, an
The cluster runs on AWS Fargate, which changes how the observability agent must be deployed. Fargate does not support DaemonSets, so the CloudWatch ag
Give the node instance profile CloudWatchAgentServerPolicy and run the CloudWatch agent, t
Memory errors under heavy load require collecting memory metrics over time from the EKS cluster's EC2 worker nodes. The unified Amazon CloudWatch agen
Send CloudTrail management events to CloudWatch Logs, filter failed ConsoleLogin, and alar
Console sign-in activity is recorded by CloudTrail as management events, so those events are what must be delivered to CloudWatch Logs. A CloudWatch L
Allow cross-account events into the DevOps event bus and create a rule in each account tar
Each account has its own default event bus and the DevOps team needs all Amazon Connect events in one account. EventBridge rules can target another ac
Send Network Firewall flow logs to a Kinesis Data Firehose delivery stream with a Lambda t
The flow logs must be transformed and augmented before being delivered to the existing S3 bucket. Amazon Kinesis Data Firehose is designed for exactly
Match the CloudTrail event pattern for AssumeRole in EventBridge and notify SNS from a Lam
Assuming a role is recorded by CloudTrail as an API call, so the way to observe it is a CloudTrail event pattern filtered on the AssumeRole action for
Collect metrics to S3 on a schedule, catalog with a Glue crawler, query with Athena, and v
Auditing and visualizing workload metrics at scale needs a collection layer, a catalog and query layer, and a visualization layer. An EventBridge sche
Invoke a Lambda on every successful and failed pipeline run to publish CloudWatch custom m
The team needs deployment frequency and recovery time per microservice with the least configuration. CodePipeline emits success and failure state chan
Subscribe all log groups to a Firehose delivery stream in a dedicated account with a Lambd
CloudWatch Logs data must reach a bucket in a dedicated account for both existing and future log groups. A CloudWatch Logs destination together with a
Least Overhead for Custom EC2 Metrics
Determines the optimal method for collecting custom performance metrics from Amazon EC2 instances with minimal operational overhead using the CloudWat