ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

245 / 310

Question 245:

Your company’s security policies require that EC2 instances in the VPCs should send customized logs to CloudWatch Logs through private connections without being exposed to the internet.
The EC2 instances are currently located in private subnets, and they can connect to the internet through NAT gateways in public subnets.
Which of the following actions would you take to meet the security requirements?

Answer options:

A.Create a CloudWatch Log Group and associate it with one VPC private subnet. Send the logs from EC2 instances to the CloudWatch Log Group through the AWS private backbone.
B.Create a VPC Endpoint for CloudWatch Logs (com.amazonaws.Region.logs). The EC2 logs are sent to CloudWatch Logs through a private connection.
C.Add a route in the NAT gateway route table to serve the traffic from private subnets to the CloudWatch Logs service (com.amazonaws.Region.logs).
D.Establish an AWS private link connection between VPC private subnets and CloudWatch Logs service. Attach a security group to CloudWatch Logs to allow inbound traffic from the EC2 security groups.