
AWSCertified DevOps Engineer - Professional
Domain 4Objective 1
Task Statement 4.1: Configure the Collection, Aggregation, and Storage of Logs and Metrics. DOP-C02 Practice Questions (Page 1)
Part of the Content Domain 4: Monitoring and Logging domain, which accounts for 15% of the DOP-C02 exam. AWS does not publish an official question count, but from its 180-minute exam (~70–120 total, ~11–18 in this domain), expect 4–6 from this objective — we provide 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
13concepts
15%of the exam
Questions 1–5
- 1
A company runs a custom application on an EC2 instance. The application writes logs to a file in /var/log/myapp/. The DevOps team wants to collect these logs in real time and send them to CloudWatch Logs. What is the simplest way to achieve this?
Select an answer first - 2
Which CloudWatch Logs feature allows you to stream log events in real time to other AWS services?
Select an answer first - 3
A DevOps engineer needs to deliver CloudWatch metrics to an external monitoring tool that requires data in a specific format. The tool can consume data from Amazon S3. The engineer wants to avoid writing custom code. What is the simplest way to get CloudWatch metrics into S3?
Select an answer first - 4
Which type of AWS KMS key can be used to encrypt CloudWatch Logs data?
Select an answer first - 5
A DevOps engineer needs to track the number of HTTP 500 errors returned by an application that writes JSON access logs to CloudWatch Logs. The logs contain a field named "status" with the HTTP status code. The engineer wants to create a CloudWatch metric that counts these errors and then alert when the count exceeds a threshold in a 5-minute period. What is the most efficient way to accomplish this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by AWS. “DOP-C02” is a trademark of its owner, used for identification only.