Q87 — AWS SAA-C03 Ch.17

Question 87 of 89 | ← Chapter 17

Q1387. A company is deploying an application that processes streaming data in near-real time. The company plans to use Amazon EC2 instances for the workload. The network architecture must be configurable to provide the lowest possible latency between nodes.Which networking solution meets these requirements?

Correct Answer: B. Attach an Elastic Fabric Adapter(EFA) to each EC2 instance.

Explanation

Let's analyze each option to determine the networking solution that meets the requirement of providing the lowest possible latency between nodes for an application processing streaming data in near - real time on Amazon EC2 instances:Option A: Place the EC2 instances in multiple VPCs, and configure VPC peering VPC peering allows communication between two VPCs as if they were in the same network. However, VPC peering introduces additional network hops and potential latency. When data has to traverse between different VPCs through a peering connection, it can add overhead compared to having all the instances within a single, well - optimized network environment. So, this option is not ideal for achieving the lowest possible latency.Option B: Attach an Elastic Fabric Adapter (EFA) to each EC2 instance An Elastic Fabric Adapter (EFA) is a network device that you can attach to Amazon EC2 instances to accelerate High - Performance Computing (HPC) and machine learning applications. EFAs enable low - latency, high - throughput communication between instances, which is crucial for applications that require fast data transfer between nodes, such as those processing streaming data in near - real time. By using EFAs, the instances can communicate directly with each other using a high - speed, low - latency network fabric, reducing the time it takes for data to travel between nodes. This option is well - suited for the given requirement.Option C: Run the EC2 instances in a spread placement group A spread placement group places instances on distinct underlying hardware to reduce the risk of simultaneous failures. While it provides high availability by spreading instances across different racks, it does not specifically optimize for low - latency communication between the instances. The main focus of a spread placement group is on fault tolerance rather than minimizing network latency. So, this option does not meet the requirement of providing the lowest possible latency.Option D: Use Amazon EBS optimized instance typesAmazon EBS optimized instance types are designed to provide dedicated throughput between the EC2 instance and Amazon EBS storage. This is useful for applications that require high - performance storage access, such as database workloads. However, it has no direct impact on the latency between EC2 instances in a network. The requirement here is about low - latency communication between nodes processing streaming data, not about storage performance. So, this option is not relevant to the given requirement.Based on the above analysis, the networking solution that meets the requirement of providing the lowest possible latency between nodes is to attach an Elastic Fabric Adapter (EFA) to each EC2 instance.So the answer is B.