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 34 discussion

A company is deploying an application. The application is implemented in a series of containers in an Amazon Elastic Container Service (Amazon ECS) cluster. The company will use the Fargate launch type for its tasks. The containers will run workloads that require connectivity initiated over an SSL connection. Traffic must be able to flow to the application from other AWS accounts over private connectivity. The application must scale in a manageable way as more consumers use the application.
Which solution will meet these requirements?

  • A. Choose a Gateway Load Balancer (GLB) as the type of load balancer for the ECS service. Create a lifecycle hook to add new tasks to the target group from Amazon ECS as required to handle scaling. Specify the GLB in the service definition. Create a VPC peer for external AWS accounts. Update the route tables so that the AWS accounts can reach the GLB.
  • B. Choose an Application Load Balancer (ALB) as the type of load balancer for the ECS service. Create path-based routing rules to allow the application to target the containers that are registered in the target group. Specify the ALB in the service definition. Create a VPC endpoint service for the ALB Share the VPC endpoint service with other AWS accounts.
  • C. Choose an Application Load Balancer (ALB) as the type of load balancer for the ECS service. Create path-based routing rules to allow the application to target the containers that are registered in the target group. Specify the ALB in the service definition. Create a VPC peer for the external AWS accounts. Update the route tables so that the AWS accounts can reach the ALB.
  • D. Choose a Network Load Balancer (NLB) as the type of load balancer for the ECS service. Specify the NLB in the service definition. Create a VPC endpoint service for the NLB. Share the VPC endpoint service with other AWS accounts.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
study_aws1
Highly Voted 2 years, 1 month ago
Path based routing is not required here. Requirement is "Traffic must be able to flow to the application from other AWS accounts over private connectivity. " - which is a case for PrivateLink. It is option D)
upvoted 15 times
...
linuxek21
Highly Voted 2 years, 1 month ago
Selected Answer: D
Correct answer is: D B - You cannot create a service endpoint for an ALB Endpoint services require either a Network Load Balancer or a Gateway Load Balancer. The load balancer receives requests from service consumers and routes them to your service. https://docs.aws.amazon.com/vpc/latest/privatelink/create-endpoint-service.html You can have the ALB behind the NLB but not directly as a service endpoint
upvoted 12 times
...
Ravan
Most Recent 8 months, 1 week ago
Selected Answer: B
Network Load Balancer: NLBs are not designed for application-level traffic management and might not provide the required features for this scenario.
upvoted 1 times
...
Raphaello
1 year, 1 month ago
Selected Answer: D
VPC service endpoint using NLB. D is correct.
upvoted 1 times
...
vikasj1in
1 year, 3 months ago
Selected Answer: B
Choosing an Application Load Balancer (ALB) is suitable for handling SSL connections and path-based routing, providing flexibility in directing traffic to different containers based on paths. Creating path-based routing rules allows the application to target specific containers within the ECS service. Creating a VPC endpoint service for the ALB allows other AWS accounts to access the ALB over private connectivity. Sharing the VPC endpoint service enables traffic from other AWS accounts to flow to the ALB securely.
upvoted 1 times
...
Marfee400704
1 year, 3 months ago
I think that it's answer is D according to SPOTO products.
upvoted 1 times
...
marfee
1 year, 3 months ago
I think that it's correcty answer is D.
upvoted 1 times
...
halukd
1 year, 3 months ago
seems B *Create a target group for the tasks and define it as a listener target in an Application Load Balancer (ALB). Configure the ALB with SSL certificates for the secure connections. Yes, it is possible to use a VPC endpoint with an Application Load Balancer (ALB). A VPC endpoint allows private connectivity between resources in your VPC and another AWS service without requiring access over the public internet or NAT. Specifically, you can configure a VPC endpoint for services like API Gateway, S3, DynamoDB etc. and then associate that endpoint with a target group of your ALB. The ALB can then forward traffic privately to those services. https://repost.aws/questions/QUTXcNxnAuRo-YvGdOoKGy2g/can-an-application-load-balancer-invoke-an-api-gateway-http-api-via-a-vpc-endpoint-interface
upvoted 1 times
...
Arad
1 year, 6 months ago
Selected Answer: D
Correct answer is D.
upvoted 1 times
...
Pratap
1 year, 11 months ago
Selected Answer: D
D is the correct option
upvoted 1 times
...
tcp22
1 year, 11 months ago
this is to exposing the service from ECS(provider) to other consumers, using NLB make sense to be used with private link, hence D
upvoted 1 times
...
rhinozD
2 years ago
Selected Answer: D
"Traffic must be able to flow to the application from other AWS accounts over private connectivity." You don't want to peer the whole VPC just for exposing a service. You can't create a endpoint service with an ALB. -> D
upvoted 6 times
...
yowoo
2 years ago
Selected Answer: D
C and D seem close to the answer, but if I have to choose one, D is Correct The question said that SSL communication between containers is necessary, and the end of SSL communication becomes Container, which means that there is a high possibility that ELB will not off-load In the end, in the case of C, ALB cannot see the decrypted packet, so the URL included in the payload is unknown, and URL-based routing is not possible Therefore, the closest view to the correct answer is D
upvoted 4 times
...
that1guy
2 years, 1 month ago
Selected Answer: D
No reason to use ALB, SSL != HTTPS, while SSL does not strictly require HTTP, it is typically used in conjunction with HTTP to create HTTPS but it isn't required.
upvoted 4 times
...
ITgeek
2 years, 1 month ago
Selected Answer: B
B, since you need an ALB for SSL/TLS
upvoted 1 times
...
devopsbro
2 years, 1 month ago
B is the correct answer. Use ALB as an endpoint for NLB in VPC Endpoint service. https://aws.amazon.com/about-aws/whats-new/2021/09/application-load-balancer-aws-privatelink-static-ip-addresses-network-load-balancer/
upvoted 2 times
...
helloworldabc
2 years, 1 month ago
CCCCCCCCC
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