AWS Certified Security – Specialty (SCS-C02) — Question 69

A company has a group of Amazon EC2 instances in a single private subnet of a VPC with no internet gateway attached. A security engineer has installed the Amazon CloudWatch agent on all instances in that subnet to capture logs from a specific application. To ensure that the logs flow securely, the company's networking team has created VPC endpoints for CloudWatch monitoring and CloudWatch logs. The networking team has attached the endpoints to the VPC.

The application is generating logs However, when the security engineer queries CloudWatch, the logs do not appear.

Which combination of steps should the security engineer take to troubleshoot this issue? (Choose three.)

Answer options

Correct answer: A, C, D

Explanation

The correct answer includes verifying permissions for the EC2 instance profile (A), checking the CloudWatch agent configuration (C), and reviewing the VPC endpoint policies (D). These steps ensure that the instances can write logs and are properly configured to send data to CloudWatch. Options B, E, and F are unnecessary; B does not address the transmission issue, E is irrelevant since VPC endpoints eliminate the need for a NAT gateway, and F does not affect log transmission to CloudWatch.