Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Advanced Networking - Specialty ANS-C01 All Questions

View all questions & answers for the AWS Certified Advanced Networking - Specialty ANS-C01 exam

Exam AWS Certified Advanced Networking - Specialty ANS-C01 topic 1 question 70 discussion

A company is planning to use Amazon S3 to archive financial data. The data is currently stored in an on-premises data center. The company uses AWS Direct Connect with a Direct Connect gateway and a transit gateway to connect to the on-premises data center. The data cannot be transported over the public internet and must be encrypted in transit.
Which solution will meet these requirements?

  • A. Create a Direct Connect public VIF. Set up an IPsec VPN connection over the public VIF to access Amazon S3. Use HTTPS for communication.
  • B. Create an IPsec VPN connection over the transit VIF. Create a VPC and attach the VPC to the transit gateway. In the VPC, provision an interface VPC endpoint for Amazon S3. Use HTTPS for communication.
  • C. Create a VPC and attach the VPC to the transit gateway. In the VPC, provision an interface VPC endpoint for Amazon S3. Use HTTPS for communication.
  • D. Create a Direct Connect public VIF. Set up an IPsec VPN connection over the public VIF to the transit gateway. Create an attachment for Amazon S3. Use HTTPS for communication.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
that1guy
Highly Voted 1 year, 6 months ago
Selected Answer: B
Technically both B and C are possible, but with B encryption is enforced. You can prevent unencrypted S3 actions via bucket policies, but not mentioned in the question, see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-HTTP-HTTPS In this case interface vpc endpoint for S3 is also correct, see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html > "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." But in this context I would go for B:
upvoted 8 times
Spike2020
1 year, 6 months ago
But you cannot create a vpn over a trasit VIF
upvoted 5 times
rhinozD
1 year, 5 months ago
I think you can create an IPSec VPN over a transit VIF if there is a Direct Connect Gateway. https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-direct-connect-aws-transit-gateway-vpn.html
upvoted 8 times
...
...
...
fojta
Highly Voted 1 year, 7 months ago
Selected Answer: B
both B and C are correct. Option B involves double encryption which is more secure but it's not explicitly defined in requirement that it would be required.
upvoted 6 times
...
AlirezaNetWorld
Most Recent 1 month, 2 weeks ago
C is the best answer for this question to meet all the company's requirements.
upvoted 1 times
...
Ravan
1 month, 3 weeks ago
Selected Answer: C
Option B (IPsec VPN over Transit VIF): Although this option includes a VPN, it adds unnecessary complexity. A direct interface VPC endpoint for S3, as in Option C, is a more straightforward and secure solution that avoids public internet use and encryption concerns.
upvoted 2 times
...
hcong
2 months ago
Selected Answer: C
Because it introduces an additional VPN connection, which is unnecessary if you already have Direct Connect
upvoted 2 times
...
YogiB1
4 months, 3 weeks ago
Both B and C meet the required objective. B provides double encryption BUT it is not end to end, before Customer Gateway (on-prem server to on-prem router) and After TGW (TGW to VPC S3 Endpoint), the data is being carried as HTTPS. So VPN is just adding double encryption for partial route not end to end. In that case it is not much better than C.
upvoted 2 times
...
seochan
5 months ago
Selected Answer: B
Both B and C are possible solution, but C is not mentioning about routing configuration on TGW or etc. and you can make IPsec VPN over transit VIF https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-direct-connect-aws-transit-gateway-vpn.html
upvoted 1 times
...
seochan
5 months ago
C is not possible since S3 itself cannot terminate TLS (HTTPS) connection
upvoted 1 times
...
Raphaello
6 months, 2 weeks ago
Selected Answer: C
The request is to avoid transporting data over the Internet (DX would ensure that), and use in-transit encryption (HTTPS will do that). That being said, I see no point to create IPSEC VPN over DX connection, as long as Amazon S3 supports both interface endpoints (along with gateway endpoints ofc), and can reach S3 interface endpoint through DX connection and configure it (via IAM policy) to only used HTTPS. Option C is correct. Fulfilling, and without IPSEC VPN config. Had option C worded "S3 gateway endpoint" instead of "S3 interface endpoint", it would be wrong. As it is, it is just fine.
upvoted 2 times
...
FayeG
11 months, 4 weeks ago
Selected Answer: C
Using HTTPS allows us to fulfil the end to end encryption without needing a VPN. Using Interface endpoints to S3 allows us an HTTPS API to S3 that stays in AWS private network. Thus we didn't need a VPN thus the correct answer is C.
upvoted 4 times
...
passtest100
1 year ago
C is enough, even VPN can established over transit VIF. End-end encryption is guaranteed by https, double encryption is not required, and site-site vpn is not end-to-end encryption of data in transit.
upvoted 2 times
...
Cheam
1 year, 1 month ago
For those wondering how answer B will look like, please refer to the URL below. Ref: https://d1.awsstatic.com/architecture-diagrams/ArchitectureDiagrams/traffic-encryption-options-direct-connect-ra.pdf All the best.
upvoted 1 times
...
Chika22
1 year, 6 months ago
Selected Answer: A
I think (A) is the correct answer. Public VIF doesn't mean the traffic will flow through the public Internet. It'll reach AWS services through Public IP.
upvoted 1 times
rhinozD
1 year, 5 months ago
How do you do this: "Set up an IPsec VPN connection over the public VIF to access Amazon S3"?
upvoted 2 times
...
...
study_aws1
1 year, 6 months ago
Agree B) will be the most suitable option here. Just for knowledge & clarity purposes, was curious to understand why Option A) got ruled out here.
upvoted 2 times
silviahdz
1 year, 6 months ago
"The data cannot be transported over the public internet"
upvoted 1 times
...
...
ITgeek
1 year, 6 months ago
Selected Answer: B
create vpc endpoint and use IPSec VPN
upvoted 4 times
AWSDEvops
1 year, 4 months ago
B and C - there is no interface EP for S3 - it's Gateway EP.
upvoted 1 times
Josh1217
1 year, 3 months ago
Endpoint connections cannot be extended out of a VPC. Resources on the other side of a VPN connection, VPC peering connection, transit gateway, or AWS Direct Connect connection in your VPC cannot use a gateway endpoint to communicate with Amazon S3. Hence Interface EP. https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html
upvoted 1 times
...
...
...
gpt_test
1 year, 6 months ago
Selected Answer: B
Explanation: To meet the requirements of encrypting the data in transit and avoiding public internet, you can create an IPsec VPN connection over the transit VIF. Then, create a VPC and attach it to the transit gateway. Inside the VPC, you can provision an interface VPC endpoint (also known as a PrivateLink) for Amazon S3, which allows secure communication to Amazon S3 over the AWS network. Using HTTPS for communication ensures that the data remains encrypted in transit.
upvoted 3 times
...
ILOVEVODKA
1 year, 7 months ago
VPN can be over Transit VIF: https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-direct-connect-aws-transit-gateway-vpn.html
upvoted 4 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 ...