exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 4 discussion

An application runs on an Amazon EC2 instance in a VPC. The application processes logs that are stored in an Amazon S3 bucket. The EC2 instance needs to access the S3 bucket without connectivity to the internet.
Which solution will provide private network connectivity to Amazon S3?

  • A. Create a gateway VPC endpoint to the S3 bucket.
  • B. Stream the logs to Amazon CloudWatch Logs. Export the logs to the S3 bucket.
  • C. Create an instance profile on Amazon EC2 to allow S3 access.
  • D. Create an Amazon API Gateway API with a private link to access the S3 endpoint.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PhucVuu
Highly Voted 4 months, 2 weeks ago
Selected Answer: A
Keywords: - EC2 in VPC - EC2 instance needs to access the S3 bucket without connectivity to the internet A: Correct - Gateway VPC endpoint can connect to S3 bucket privately without additional cost B: Incorrect - You can set up interface VPC endpoint for CloudWatch Logs for private network from EC2 to CloudWatch. But from CloudWatch to S3 bucket: Log data can take up to 12 hours to become available for export and the requirement only need EC2 to S3 C: Incorrect - Create an instance profile just grant access but not help EC2 connect to S3 privately D: Incorrect - API Gateway like the proxy which receive network from out site and it forward request to AWS Lambda, Amazon EC2, Elastic Load Balancing products such as Application Load Balancers or Classic Load Balancers, Amazon DynamoDB, Amazon Kinesis, or any publicly available HTTPS-based endpoint. But not S3
upvoted 67 times
rxwcl
3 months, 2 weeks ago
Option C involves creating an instance profile on the EC2 instance to allow S3 access. While this option could potentially work, it would not provide private network connectivity to S3, as the EC2 instance would still need to access S3 over the internet. Option D involves creating an Amazon API Gateway API with a private link to access the S3 endpoint. This option would not provide private network connectivity to S3, as the API Gateway API is not a network interface that can be used to privately connect to S3. Overall, Option A is the correct solution for providing private network connectivity to Amazon S3 from an EC2 instance in a VPC.
upvoted 2 times
...
Austinlorenzmccoy
1 year, 2 months ago
Thank you so much
upvoted 1 times
...
...
D2w
Highly Voted 2 years, 3 months ago
Selected Answer: A
VPC endpoint allows you to connect to AWS services using a private network instead of using the public Internet
upvoted 32 times
...
Aayush_786
Most Recent 1 week, 1 day ago
Selected Answer: A
If accessing S3/DynamoDB privately: Use a Gateway VPC Endpoint. If accessing any other AWS service privately: Use an Interface Endpoint (via PrivateLink). If accessing third-party SaaS applications or services in another account/VPC: Use PrivateLink.
upvoted 2 times
...
Chumi
1 week, 1 day ago
Selected Answer: A
option A vpc endpoint can easily connect to an S3 bucket privately with little or zero cost accrued.
upvoted 1 times
...
Mrigraj12
1 week, 5 days ago
Selected Answer: A
Create gateway endpoint to access s3 bucket so as the ec2 will not require to go over the internet to access s3 bucket and the process will be fast and cheap also!
upvoted 1 times
...
MGKYAING
1 month, 1 week ago
Selected Answer: A
A Gateway VPC Endpoint is designed to provide private network connectivity between resources in a VPC (such as EC2 instances) and services like Amazon S3 or DynamoDB without requiring an internet gateway, NAT gateway, or NAT instance. When a gateway VPC endpoint is set up for S3: Traffic between the EC2 instance and the S3 bucket stays within the AWS private network. This ensures secure, cost-efficient, and private access to the S3 bucket without requiring public internet connectivity.
upvoted 2 times
...
cookieMr
4 months, 2 weeks ago
Selected Answer: A
Here's why Option A is the correct choice: Gateway VPC Endpoint: A gateway VPC endpoint allows you to privately connect your VPC to supported AWS services. By creating a gateway VPC endpoint for S3, you can establish a private connection between your VPC and the S3 service without requiring internet connectivity. Private network connectivity: The gateway VPC endpoint for S3 enables your EC2 instance within the VPC to access the S3 bucket over the private network, ensuring secure and direct communication between the EC2 instance and S3. No internet connectivity required: Since the requirement is to access the S3 bucket without internet connectivity, the gateway VPC endpoint provides a private and direct connection to S3 without needing to route traffic through the internet. Minimal operational complexity: Setting up a gateway VPC endpoint is a straightforward process. It involves creating the endpoint and configuring the appropriate routing in the VPC. This solution minimizes operational complexity while providing the required private network connectivity.
upvoted 4 times
...
Ruffyit
4 months, 2 weeks ago
Keywords: - EC2 in VPC - EC2 instance needs to access the S3 bucket without connectivity to the internet VPC endpoint allows you to connect to AWS services using a private network instead of using the public Internet. With a gateway endpoint, you can access Amazon S3 from your VPC, without requiring an internet gateway or NAT device for your VPC, and with no additional cost. However, gateway endpoints do not allow access from on-premises networks, from peered VPCs in other AWS Regions, or through a transit gateway.
upvoted 4 times
...
Andreshere
4 months, 2 weeks ago
Selected Answer: A
A. Correct answer. The easiest way to get private network connectivity in S3 is using VPC gateway endpoint. This service is free, and it is integrated natively with S3. B. Amazon CloudWatch Logs only collects and monitors logs but natively has not mechanisms to use private connection. C. Instance profiles are used to assign IAM roles to an EC2 instance, but it is not related to network connectivity. D. API Gateway like the proxy which receive network from out site and it forward request to AWS Lambda, Amazon EC2, Elastic Load Balancing products such as Application Load Balancers or Classic Load Balancers, Amazon DynamoDB, Amazon Kinesis, or any publicly available HTTPS-based endpoint. But not S3.
upvoted 6 times
...
Buruguduystunstugudunstuy
4 months, 2 weeks ago
Selected Answer: A
***CORRECT ANSWER*** The correct solution that will provide private network connectivity to Amazon S3 is Option A: Create a gateway VPC endpoint to the S3 bucket. ***EXPLANATION*** Option A involves creating a gateway VPC endpoint, which is a network interface in a VPC that allows you to privately connect to a service over the Amazon network. You can create a gateway VPC endpoint for Amazon S3, which will allow the EC2 instance in the VPC to access the S3 bucket without connectivity to the internet. Option B involves streaming the logs to Amazon CloudWatch Logs and then exporting the logs to the S3 bucket. This option would not provide private network connectivity to S3, as the logs would need to be exported over the internet.
upvoted 3 times
Buruguduystunstugudunstuy
2 years, 1 month ago
Option C involves creating an instance profile on the EC2 instance to allow S3 access. While this option could potentially work, it would not provide private network connectivity to S3, as the EC2 instance would still need to access S3 over the internet. Option D involves creating an Amazon API Gateway API with a private link to access the S3 endpoint. This option would not provide private network connectivity to S3, as the API Gateway API is not a network interface that can be used to privately connect to S3. Overall, Option A is the correct solution for providing private network connectivity to Amazon S3 from an EC2 instance in a VPC.
upvoted 1 times
...
...
Chiaki35
5 months, 3 weeks ago
A. You should create VPC endpoint and link to S3 endpoint to transfer internally in AWS without internet
upvoted 1 times
...
PaulGa
5 months, 4 weeks ago
Ans A. VPC = Virtual Private Cloud, so its already private... so just create another end point...
upvoted 1 times
...
Awsgrinder94
7 months, 4 weeks ago
Selected Answer: A
A for sure
upvoted 1 times
...
Ishu_
8 months, 1 week ago
Selected Answer: A
Gateway VPC endpoint will provide private network connectivity to Amazon S3
upvoted 1 times
...
Muavia
9 months, 3 weeks ago
Option A is corect when you need a establish a conection between EC2 and S3 then gateway and VPc is the best choice
upvoted 1 times
...
48cd959
10 months, 4 weeks ago
Answer -A VPC endpoints are created to access any AWS services privately without going to internet.
upvoted 2 times
...
TilTil
10 months, 4 weeks ago
Selected Answer: A
VPC Endpoint is the TOP Notch choice, allows services to connect via private could. VPC literally means virtual private cloud. Best choice
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago