exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 283 discussion

A company wants to send data from its on-premises systems to Amazon S3 buckets. The company created the S3 buckets in three different accounts. The company must send the data privately without the data traveling across the internet. The company has no existing dedicated connectivity to AWS.

Which combination of steps should a solutions architect take to meet these requirements? (Choose two.)

  • A. Establish a networking account in the AWS Cloud. Create a private VPC in the networking account. Set up an AWS Direct Connect connection with a private VIF between the on-premises environment and the private VPC.
  • B. Establish a networking account in the AWS Cloud. Create a private VPC in the networking account. Set up an AWS Direct Connect connection with a public VIF between the on-premises environment and the private VPC.
  • C. Create an Amazon S3 interface endpoint in the networking account.
  • D. Create an Amazon S3 gateway endpoint in the networking account.
  • E. Establish a networking account in the AWS Cloud. Create a private VPC in the networking account. Peer VPCs from the accounts that host the S3 buckets with the VPC in the network account.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
Christina666
Highly Voted 1 year, 9 months ago
Selected Answer: AC
You can use two types of VPC endpoints to access Amazon S3: gateway endpoints and interface endpoints (by using AWS PrivateLink). A gateway endpoint is a gateway that you specify in your route table to access Amazon S3 from your VPC over the AWS network. Interface endpoints extend the functionality of gateway endpoints by using private IP addresses to route requests to Amazon S3 from within your VPC, on premises, or from a VPC in another AWS Region by using VPC peering or AWS Transit Gateway.
upvoted 9 times
...
cachac
Highly Voted 1 year, 5 months ago
Selected Answer: AC
AC: "The company must send the data privately" = Interface endpoints Gateway endpoints, do not allow access from on premises.
upvoted 6 times
...
JoeTromundo
Most Recent 6 months, 3 weeks ago
Selected Answer: AC
Why not A and D: "Currently, gateway VPC endpoints for Amazon S3 do not support accessing resources in a different Region, in a different VPC, or from an on-premises data center (environment outside of AWS)."
upvoted 2 times
...
gfhbox0083
9 months, 2 weeks ago
Selected Answer: AC
A, C for sure. Interface endpoints extend the functionality of gateway endpoints by using private IP addresses to route requests to Amazon S3 from within your VPC, on premises, or from a VPC in another AWS Region by using VPC peering or AWS Transit Gateway.
upvoted 1 times
...
LazyAutonomy
1 year, 3 months ago
Selected Answer: AC
Really, really awful question. Agree that the answer they're looking for is AC. However, technically, this element of B if done in isolation will also work and might actually be better: "Set up an AWS Direct Connect connection with a public VIF between the on-premises environment and the private VPC". Just because you're accessing S3 using its public IPs, doesn't mean you're routing over the "public internet". Plus, accessing S3 via its regular public prefixes means no mucking around with `--endpoint-url https://bucket.vpce-1a2b3c4d-5e6f.s3.us-east-1.vpce.amazonaws.com` command line options. Your devs can just use S3 normally with normal DNS hostnames. If they forget then the traffic will route via the internet - oops. So B+anything-else is technically also correct, and arguably preferable.
upvoted 4 times
LazyAutonomy
1 year, 3 months ago
And yes, I know that technically a public VIF has nothing to do with nor are they attached to VPCs, but the core tenet of B is to "use public VIF", i.e. public peering. So, if I was faced with this situation in real life, I'd consider that. The downside of the public VIF approach is missing out on VPC endpoint policies. Maybe the optimal solution is to deploy EC2 forward proxies in a VPC with an S3 gateway endpoint?
upvoted 3 times
...
...
duriselvan
1 year, 4 months ago
A. Establish a networking account in the AWS Cloud. Create a private VPC in the networking account. Set up an AWS Direct Connect connection with a private VIF between the on-premises environment and the private VPC. This creates a dedicated, private connection between the on-premises systems and the AWS VPC, ensuring data remains secure and isolated from the public internet. The private VIF further enhances security by preventing access to the S3 buckets from the public internet. E. Establish a networking account in the AWS Cloud. Create a private VPC in the networking account. Peer VPCs from the accounts that host the S3 buckets with the VPC in the network account. This establishes connectivity between the private VPC and the VPCs containing the S3 buckets, enabling private data transfer without crossing the public internet. Peering allows resources in both VPCs to communicate directly, maintaining data security and privacy.
upvoted 1 times
ayadmawla
1 year, 4 months ago
S3 doesn't live in a customer VPC. Its a public service. So you either connect to it over the Internet or through a VPC Gateway endpoint of Interface Endpoint depending on the setup.
upvoted 3 times
...
...
career360guru
1 year, 5 months ago
Selected Answer: AC
S3 Gateway endpoint is for access inside VPC and not from on-premise.
upvoted 5 times
...
enk
1 year, 5 months ago
Selected Answer: CE
C: needs to be an endpoint E: Company does NOT have a dedicated network connection so DX answers are out, so peer the VPC's.
upvoted 2 times
...
cmoreira
1 year, 7 months ago
Selected Answer: AC
AC - DX+Interface endpoint. Both gateway and interface endpoints will use aws backbone, so not internet. However, you cannot access a GW endpoint from onprem. Therefore needs interface (ENIs) endpoints.
upvoted 4 times
...
ggrodskiy
1 year, 9 months ago
Correct AC.
upvoted 1 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: AC
AC of course. see links below
upvoted 1 times
...
pupsik
1 year, 10 months ago
Selected Answer: AC
AC - links provided by other members provide very good explanation.
upvoted 1 times
...
SmileyCloud
1 year, 10 months ago
Selected Answer: AC
AC - detailed steps under use case 2 -> https://repost.aws/knowledge-center/s3-bucket-access-direct-connect
upvoted 4 times
...
NETeng01
1 year, 10 months ago
Endpoint comparison: https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#types-of-vpc-endpoints-for-s3
upvoted 3 times
bhanus
1 year, 10 months ago
Thank you. Perfect explanation
upvoted 1 times
...
...
Mekala
1 year, 10 months ago
Selected Answer: AC
AC - Access from on-prem is using S3 Interface Endpoint + Private VIF. https://aws.amazon.com/blogs/networking-and-content-delivery/secure-hybrid-access-to-amazon-s3-using-aws-privatelink/
upvoted 2 times
...
shree2023
1 year, 10 months ago
Selected Answer: AC
Seems AC
upvoted 1 times
...
gd1
1 year, 10 months ago
Selected Answer: AC
Amazon S3: interface VPC endpoint and gateway VPC endpoint. Difference : When you configure an interface VPC endpoint, an elastic network interface (ENI) with a private IP address is deployed in your subnet. An Amazon EC2 instance in the VPC can communicate with an Amazon S3 bucket through the ENI and AWS network. Using the interface endpoint, applications in your on-premises data center can easily query S3 buckets over AWS Direct Connect or Site-to-Site VPN. Interface endpoint supports a growing list of AWS services. Consult our documentation to find AWS services compatible with interface endpoints powered by AWS PrivateLink.
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