
Answer-first summary for fast verification
Answer: aws ec2 monitor-instances --instance-ids i-1234567890abcdef0
aws ec2 monitor-instances --instance-ids i-1234567890abcdef0 - This enables detailed monitoring for a running instance.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As an AWS Certified Developer Associate, you are tasked with implementing better visibility and monitoring for the existing infrastructure. Your Team Lead has specifically requested enabling detailed monitoring for the Amazon EC2 instances your team manages. To accomplish this, you will need to utilize the AWS Command Line Interface (CLI). Given your knowledge of AWS CLI, which of the following commands should you execute to activate detailed monitoring on the EC2 instances?
A
aws ec2 monitor-instances --instance-id i-1234567890abcdef0
B
aws ec2 monitor-instances --instance-ids i-1234567890abcdef0
C
aws ec2 run-instances --image-id ami-09092360 --monitoring State=enabled
D
aws ec2 run-instances --image-id ami-09092360 --monitoring Enabled=true
No comments yet.