
Ultimate access to all questions.
Your company is using AWS to host a web application that requires access to the internet for certain operations. You want to ensure that this access is secure and does not expose the application to potential security threats. Which of the following steps should you take to achieve this?
A
Place the application in a public subnet with an internet gateway attached to the VPC.
B
Place the application in a private subnet and use a NAT gateway to provide internet access for outbound traffic.
C
Enable access to the public endpoints of required services and allow the application to communicate directly with them.
D
Create a security group with open access to the internet for the application.