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

A network engineer needs to set up an Amazon EC2 Auto Scaling group to run a Linux-based network appliance in a highly available architecture. The network engineer is configuring the new launch template for the Auto Scaling group.
In addition to the primary network interface the network appliance requires a second network interface that will be used exclusively by the application to exchange traffic with hosts over the internet. The company has set up a Bring Your Own IP (BYOIP) pool that includes an Elastic IP address that should be used as the public IP address for the second network interface.
How can the network engineer implement the required architecture?

  • A. Configure the two network interfaces in the launch template. Define the primary network interface to be created in one of the private subnets. For the second network interface, select one of the public subnets. Choose the BYOIP pool ID as the source of public IP addresses.
  • B. Configure the primary network interface in a private subnet in the launch template. Use the user data option to run a cloud-init script after boot to attach the second network interface from a subnet with auto-assign public IP addressing enabled.
  • C. Create an AWS Lambda function to run as a lifecycle hook of the Auto Scaling group when an instance is launching. In the Lambda function, assign a network interface to an AWS Global Accelerator endpoint.
  • D. During creation of the Auto Scaling group, select subnets for the primary network interface. Use the user data option to run a cloud-init script to allocate a second network interface and to associate an Elastic IP address from the BYOIP pool.
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
vikasj1in
10 months, 1 week ago
Selected Answer: D
During the creation of the Auto Scaling group, you can select the subnets for the primary network interface. Using user data, you can run a cloud-init script to allocate and configure the second network interface during the instance launch process. The cloud-init script can also handle the association of an Elastic IP address from the BYOIP pool to the second network interface. This approach ensures that each instance launched by the Auto Scaling group has the necessary network configuration, including the second network interface with a public IP address from the BYOIP pool.
upvoted 3 times
MBO92
5 months, 2 weeks ago
Have you any official documentation that say that is not possible to use launch template in these question uses case?
upvoted 1 times
...
...
Marfee400704
10 months, 1 week ago
I think that it' correct answer is D accoring to SPOTO products.
upvoted 1 times
...
marfee
10 months, 2 weeks ago
I think that it's correcty answer is D.
upvoted 1 times
...
i4papa
11 months, 2 weeks ago
Selected Answer: A
A is incorrect
upvoted 1 times
MBO92
5 months, 2 weeks ago
Based on which condition you eliminated the answer A?
upvoted 2 times
...
...
CertNerd1234
1 year, 4 months ago
Reason why not option A: it is not possible to choose BYOIP when creating launch template
upvoted 3 times
MBO92
5 months, 2 weeks ago
Have you any documentation say this statement that we can not assign BYOIP with launch template? in the launch template we can manually enter the IP while provisioning the different ENIs there is no restriction !
upvoted 1 times
...
...
tycho
1 year, 5 months ago
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/best-practices-for-configuring-network-interfaces.html
upvoted 1 times
...
Tofu13
1 year, 5 months ago
Selected Answer: D
RhinozD answer with links https://aws.amazon.com/about-aws/whats-new/2020/11/amazon-ec2-auto-scaling-supports-attaching-multiple-network-interfaces-at-launch/ https://repost.aws/knowledge-center/ec2-auto-scaling-multiple-network-interfaces
upvoted 2 times
MBO92
5 months, 2 weeks ago
In the first link you provided said : Previously, customers had to write custom scripts and run lifecycle hooks to attach multiple network interfaces. You can now define multiple network interfaces in a launch template and your Auto Scaling group will automatically attach them to instances as they launch. So answer A is valid. There is no such information in both link said that we cannot use BYOIP inside the Launch template !!
upvoted 1 times
...
...
YEBINNNNN
1 year, 7 months ago
Selected Answer: D
AAAAAAAA
upvoted 2 times
...
rhinozD
1 year, 7 months ago
A is incorrect. EC2 Auto Scaling supports attaching a second elastic network interface automatically when Auto Scaling spins up a new instance. However, both elastic network interfaces attached to the instance are in the same subnet. So you can: 1. Combine Lambda + Lifecycle hook + eventbridge to assign the second elastic network interface 2. or use cloud-init. -> D is correct.
upvoted 4 times
...
dman
1 year, 8 months ago
A, not D because ASG with multiple network interfaces, it cannot auto assign Public IPV4 address.
upvoted 1 times
...
ohcan
1 year, 8 months ago
I think both A and D are correct, but A is easier and more efficient
upvoted 1 times
ohcan
1 year, 8 months ago
sorry. I change to D
upvoted 4 times
...
...
navi7
1 year, 9 months ago
why is A incorrect?
upvoted 1 times
slackbot
1 year, 8 months ago
there does not seem to be a way to select the BYOIP pool in the template
upvoted 2 times
...
...
helloworldabc
1 year, 9 months ago
DDDDDDDD
upvoted 2 times
...
study_aws1
1 year, 9 months ago
A - correct
upvoted 1 times
study_aws1
1 year, 8 months ago
Justification for A) - Launch templates can be used to create custom networking configurations. Within a launch template you can add multiple Elastic Network Interfaces (ENIs) and specify settings such as the availability zones they should be connected to. Note that you cannot attach multiple ENIs to an Amazon EC2 instance connected to subnets in different availability zones. Each ENI must be connected to a subnet in the same availability zone.
upvoted 1 times
navi7
1 year, 8 months ago
is it possible to select BYOIP pool-"id" during creation of launch template? I didn't any. such option.
upvoted 1 times
slackbot
1 year, 8 months ago
i did not find either. i guess this is why A is incorrect
upvoted 1 times
...
...
...
...
flowers00
1 year, 9 months ago
A - correct.
upvoted 1 times
flowers00
1 year, 9 months ago
Change to D.
upvoted 2 times
...
...
zaazanuna
1 year, 9 months ago
D - correct.
upvoted 3 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