A company is hosting a website on an Amazon EC2 instance that runs in a public subnet inside a VPC. The company uses Amazon CloudWatch Logs for web server log analysis. A SysOps administrator has installed and configured the CloudWatch Logs agent on the EC2 instance and has confirmed that the agent is running. However, logs are not showing up in CloudWatch Logs. Which solution will resolve this issue?
A) Modify the EC2 instance security group rules to allow inbound traffic on port 80.
B) Create an IAM user that has the proper permissions for CloudWatch logs. Create an IAM instance profile, and associate it with the IAM user. Associate the instance profile with the EC2 instance.
C) Create an IAM role that has the proper permissions for CloudWatch logs. Create an IAM instance profile, and associate it with the IAM role. Associate the instance profile with the EC2 instance.
D) Modify the VPC's network ACL rules for the public subnet to allow inbound traffic on port 80.
Correct Answer:
Verified
Q958: A company's auditor implemented a compliance requirement
Q959: A company's audit shows that users have
Q960: A SysOps administrator must run a script
Q961: A SysOps administrator wants to encrypt an
Q962: A SysOps administrator is responsible for managing
Q964: A SysOps administrator needs a secure way
Q965: A company is hosting backend web services
Q966: A SysOps administrator is re-architecting an application.
Q967: A SysOps administrator needs to register targets
Q968: A SysOps Administrator has created an Amazon
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents