exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 501 discussion

A group of Amazon EC2 instances have been configured as a high performance computing (HPC) cluster. The instances are running in a placement group, and are able to communicate with each other at network speeds of up to 20 Gbps.
The cluster needs to communicate with a control EC2 instance outside of the placement group. The control instance has the same instance type and AMI as the other instances, and is configured with a public IP address.
How can the Solutions Architect improve the network speeds between the control instance and the instances in the placement group?

  • A. Terminate the control instance and relaunch it in the placement group.
  • B. Ensure that the instances are communicating using their private IP addresses.
  • C. Ensure that the control instance is using an Elastic Network Adapter.
  • D. Move the control instance inside the placement group.
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
TechGuru
Highly Voted 3 years, 8 months ago
D : A instance can me moved to placement group
upvoted 23 times
AWS2020
3 years, 8 months ago
YES but you would need to terminate it first ad reluch it in the placement grp, so I think the answer is A
upvoted 2 times
Frank1
3 years, 8 months ago
The instance does not need to be terminated. It just needs to be stopped. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html "Changing the Placement Group for an Instance"
upvoted 30 times
LCC92
3 years, 6 months ago
updated to -> "Change the placement group for an instance"
upvoted 1 times
...
...
...
...
donathon
Highly Voted 3 years, 8 months ago
A You cannot move an existing instance into a placement group. Instances within a placement group generally have both a public and a private IP address. Communications across a public IP address are limited to 5Gbps or less. Low-latency, high-throughput communications between placement group members can only occur across the private interfaces, using the private IP addresses. These communications can be either 10Gbps or 20Gbps, and are limited by the instance's network configuration. https://awsinsider.net/articles/2017/06/12/ec2-placement-groups.aspx
upvoted 14 times
Phat
3 years, 7 months ago
I think Donathon is right.
upvoted 1 times
Utpal
3 years, 7 months ago
Not at all. B is right option
upvoted 3 times
...
...
jamjam2020
3 years, 7 months ago
B The cluster needs to communicate with a control EC2 instance outside of the placement group.
upvoted 6 times
...
biki1985
3 years, 6 months ago
You can move instances outside the placement group to within the placement group. For that, you have to stop the instance and then make it part of the instance group. Start instance once again.
upvoted 4 times
...
Alexey79
3 years, 2 months ago
no such limitation based on IP Address Private or Public: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
upvoted 1 times
...
...
NishKar
Most Recent 2 years, 4 months ago
Why is it assumed here that the control instance is owned by the same account as the account where the placement group is in? D is incorrect.
upvoted 1 times
...
myco
2 years, 6 months ago
Answer id D clearly mention in AWS docs only missing piece in answer is stopping the instance
upvoted 1 times
...
janvandermerwer
2 years, 6 months ago
Selected Answer: D
D - Looks to be the best option To move an instance to a placement group using the AWS CLI Stop the instance using the stop-instances command. Use the modify-instance-placement command and specify the name of the placement group to which to move the instance. aws ec2 modify-instance-placement --instance-id i-0123a456700123456 --group-name MySpreadGroup Start the instance using the start-instances command. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#change-instance-placement-group\
upvoted 2 times
...
Dionenonly
2 years, 7 months ago
Selected Answer: A
I think it's A. Instance can't be moved live. I also sow this question in udemy and the answer is the same.
upvoted 1 times
...
Dionenonly
2 years, 8 months ago
Selected Answer: D
D. Yes you can't move existing instance to placement group without a down time. But question did not mention there should not be disruption so D is okay.
upvoted 1 times
...
hilft
2 years, 10 months ago
D. directly from jon bonso's exam
upvoted 1 times
...
Ni_yot
3 years, 1 month ago
Selected Answer: D
the answer is D. Although like many have said the instance needs to be stopped first
upvoted 1 times
...
Ricky53
3 years, 2 months ago
Answer is "A": Terminate and relaunch
upvoted 1 times
...
asfsdfsdf
3 years, 2 months ago
To optimize performance on the control instance need to move it into the placement group. For elimination: A - The question does not state if its the same region, I would assume it is - if so, no need to terminate the instance just to stop and modify it and re-start it. B- It can help but i assume the instances are already communication with a private since the cluster instances dont have one. C - It would help but cant reach 20GBs so answer is D - The best way is to migrate the instance inside the cluster placement group - stop it - run the modify CLI command and start it. https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-instance-placement.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#change-instance-placement-group
upvoted 1 times
asfsdfsdf
3 years, 2 months ago
In Addition to the above, Network traffic to the internet and over an AWS Direct Connect connection to on-premises resources is limited to 5 Gbps. Instances that are not within a cluster placement group can use up to 5 Gbps for single-flow traffic. So at max using public / private IPs we can get 5GBs this will for sure eliminate B and C. The correct answer is D if all instances are in the same Region/AZ.
upvoted 1 times
...
...
Alexey79
3 years, 2 months ago
Selected Answer: D
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#change-instance-placement-group Why NOT A: “ Before you move or remove the instance, the instance must be in the stopped state. “ Termination in AWS has different results than Stop. “ The key difference between stopping and terminating an instance is that the attached bootable EBS volume will not be deleted. The data on your EBS volume will remain after stopping while all information on the local (ephemeral) hard drive will be lost as usual. “
upvoted 3 times
...
jyrajan69
3 years, 3 months ago
D. Based on the following: To move an instance to a placement group using the AWS CLI Stop the instance using the stop-instances command. Use the modify-instance-placement command and specify the name of the placement group to which to move the instance. ... Start the instance using the start-instances command
upvoted 1 times
...
cannottellname
3 years, 4 months ago
How can we enhance performance? A. Terminate the control instance and relaunch it in the placement group. - Stopping helps changing the placement group. Hence, not needed. B. Ensure that the instances are communicating using their private IP addresses. - There is no Throughput level difference between them C. Ensure that the control instance is using an Elastic Network Adapter. - It is only helpful is instance is in cluster placement D. Move the control instance inside the placement group. - Seems best option. But we need to stop & move - this is not mentioned and so, I will go with A. They have also given hint that AMI is same & hence, termination & recreation seem to help.
upvoted 1 times
...
RVivek
3 years, 4 months ago
D. Here though put is the issue. So no need to chnage IP. We have to change the placement group A is incorrect , because we can stop the instance and move placement group. No need to terminate
upvoted 1 times
...
Polu
3 years, 4 months ago
D - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html#:~:text=Before%20you%20move%20or%20remove%20the%20instance%2C%20the%20instance%20must%20be%20in%20the%20stopped%20state.
upvoted 1 times
...
cldy
3 years, 5 months ago
D. Move the control instance inside the placement group.
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 ...