If you want to have a cluster of EC2 Instances which would need to have low network latency between them , which of the following would you ideally do.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - D.
The AWS documentation mentions the following.
A placement group is a logical grouping of instances within a single Availability Zone.
Placement groups are recommended for applications that benefit from low network latency, high network throughput, or both.
To provide the lowest latency, and the highest packet-per-second network performance for your placement group, choose an instance type that supports enhanced networking.
For more information on placement groups, please refer to the below link:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.htmlThe ideal way to have a cluster of EC2 instances with low network latency between them is to launch them in a placement group. Therefore, the correct answer is D.
A placement group is a logical grouping of instances within a single Availability Zone. When instances are launched in a placement group, they are placed in close proximity to each other, which reduces the network latency between them. Placement groups are recommended for applications that require low network latency, high network throughput, or both.
Option A, launching all instances as t2.micro instances, is not the ideal solution because the instance type does not directly affect network latency.
Option B, launching all instances with Security Groups that allow all network traffic, is not the ideal solution because allowing all network traffic could actually increase latency due to congestion.
Option C, launching all instances with NACLs that allow all network traffic, is not the ideal solution for the same reasons as option B.
Therefore, the correct answer is D, launching all instances in a placement group.