SAP-C02 exam dumps

SAP-C02 practice question 241 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 241

Single answer

A company has deployed an application in a private subnet within a VPC. The application needs to access an Amazon S3 bucket in the same AWS Region to store and retrieve data. The company wants to minimize latency, ensure traffic does not traverse the public internet, and avoid the need for a NAT Gateway. Which solution should you recommend?

  1. A

    Enable VPC endpoints for Amazon S3 and update the route table for the private subnet to point to the endpoint.

  2. B

    Deploy a NAT Gateway in the public subnet and route traffic from the private subnet to the NAT Gateway.

  3. C

    Use S3 Transfer Acceleration to improve data transfer performance between the private subnet and the S3 bucket.

  4. D

    Configure a VPN connection from the private subnet to Amazon S3.

Show answer and explanation

Correct answer: A

Explanation

The most suitable solution is to use a VPC endpoint for Amazon S3, which allows private communication between the application in the private subnet and S3 without traversing the public internet. This reduces latency, enhances security, and eliminates the need for a NAT Gateway, aligning with the company's requirements.

  • A. Correct.

    This is the correct option. Enabling a VPC endpoint for Amazon S3 allows the private subnet to communicate with S3 over AWS's private network, avoiding the public internet, reducing latency, and removing the need for a NAT Gateway.

  • B. Incorrect.

    This option works but does not meet the requirement of avoiding the public internet. A NAT Gateway routes traffic to the public internet and adds extra costs.

  • C. Incorrect.

    S3 Transfer Acceleration is designed to speed up transfers over long distances by leveraging edge locations, but it requires public internet access and is not suitable for this use case.

  • D. Incorrect.

    Amazon S3 does not support VPN connections directly. This option is invalid and not applicable.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam