AWS Certified Solutions Architect – Professional — Question 520

You want to use AWS CodeDeploy to deploy an application to Amazon EC2 instances running within an Amazon Virtual Private Cloud (VPC).
What criterion must be met for this to be possible?

Answer options

Correct answer: C

Explanation

For AWS CodeDeploy to successfully deploy applications to Amazon EC2 instances within a VPC, the on-instance AWS CodeDeploy agent must be able to communicate with two critical services. It needs access to the AWS CodeDeploy endpoint to receive execution commands and status updates, and it needs access to the Amazon S3 endpoint to fetch the deployment bundles. Restricting access to only one of these endpoints, or claiming the configuration is unsupported, is incorrect.