DVA-C02 · Question #782
DVA-C02 Question #782: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #782. The question stem and answer options stay visible for context.
Question
A company's application runs on a fleet of Amazon EC2 instances in a VPC within private subnets that do not have public internet access. The company uses Amazon CloudWatch to monitor the application. A developer is troubleshooting an issue with the application. Some performance metrics are not being published to CloudWatch. The developer uses EC2 Instance Connect to access an EC2 instance. The developer verifies that a CloudWatch agent is pre-installed and running. The developer needs to ensure that the performance metrics are published to CloudWatch. Which solution will meet this requirement in the MOST secure way?
Options
- AAttach the CloudWatchAgentAdminPolicy managed IAM policy to the IAM role that is associated
- BAdd a user data script to install and start up the CloudWatch agent automatically when the EC2
- CAttach the CloudWatchAgentServerPolicy managed IAM policy to the IAM role that is associated
- DAttach the CloudWatchReadOnlyAccess managed IAM policy to the IAM role that is associated
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.