AWS SAA C003 #29

A company provides a Voice over Internet Protocol (VoIP) service that uses UDP connections. The service consists of Amazon EC2 instances that run in an Auto Scaling group. The company has deployments across multiple AWS Regions.

The company needs to route users to the Region with the lowest latency. The company also needs automated failover between Regions.

Which solution will meet these requirements?

A. Deploy a Network Load Balancer (NLB) and an associated target group. Associate the target group with the Auto Scaling group. Use the NLB as an AWS Global Accelerator endpoint in each Region.

B. Deploy an Application Load Balancer (ALB) and an associated target group. Associate the target group with the Auto Scaling group. Use the ALB as an AWS Global Accelerator endpoint in each Region.

C. Deploy a Network Load Balancer (NLB) and an associated target group. Associate the target group with the Auto Scaling group. Create an Amazon Route 53 latency record that points to aliases for each NLB. Create an Amazon CloudFront distribution that uses the latency record as an origin.

D. Deploy an Application Load Balancer (ALB) and an associated target group. Associate the target group with the Auto Scaling group. Create an Amazon Route 53 weighted record that points to aliases for each ALB. Deploy an Amazon CloudFront distribution that uses the weighted record as an origin.


The correct answer is A. Deploy a Network Load Balancer (NLB) and an associated target group. Associate the target group with the Auto Scaling group. Use the NLB as an AWS Global Accelerator endpoint in each Region.

Here's why:

  • VoIP services typically use UDP connections, which are not supported by Application Load Balancers (ALBs), making options B and D unsuitable.
  • AWS Global Accelerator improves the availability and performance of your applications for local and global users. It uses the AWS global network to optimize the path from your users to your applications, improving the performance of your TCP and UDP traffic.
  • AWS Global Accelerator also continuously monitors the health of your application endpoints, and routes traffic to the closest healthy endpoints to improve application availability.

Option C is incorrect because it involves using Amazon Route 53 latency records and Amazon CloudFront, which are not the best tools for this specific use case.

Here's why:

  • Amazon Route 53 latency records route traffic based on the lowest network latency for your end user (i.e., which region will give them the fastest response time). However, it doesn't provide automated failover between regions, which is a requirement in this scenario.

  • Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services. Content delivery networks provide a globally-distributed network of proxy servers which cache content, such as web videos or other bulky media, more locally to consumers, thus improving access speed for downloading the content. It's not designed to route users to the region with the lowest latency for VoIP services.

  • AWS Global Accelerator, on the other hand, directs traffic to optimal endpoints over the AWS global network, improving the performance of your traffic by as much as 60%. When the health of your resources changes, Global Accelerator reacts within seconds to keep your traffic on the optimal path. It also provides instant regional failover capability, which aligns with the requirements.

Therefore, using a Network Load Balancer (NLB) with AWS Global Accelerator would be a more suitable solution for this scenario. NLB operates at the connection level (Layer 4), routing connections to targets -- Amazon EC2 instances, microservices, and containers -- within Amazon VPC based on IP protocol data. Ideal for load balancing of both TCP and UDP traffic, NLB is capable of handling millions of requests per second while maintaining ultra-low latencies, which is perfect for VoIP services.

相关推荐
TYKJ0238 小时前
GPU选型避坑指南:A100/H100/H200/H20怎么选?从真实案例讲起
云计算·创业
xixixi777778 小时前
AI的“账号”与“钱包”:AWS与Circle同日出手,AI正从工具进化
人工智能·安全·ai·大模型·云计算·aws
wanhengidc14 小时前
显卡服务器都有哪些功能
运维·服务器·人工智能·科技·智能手机·云计算
YuanDaima204815 小时前
云计算基础与容器技术演进
java·服务器·人工智能·python·深度学习·云计算·个人开发
容器魔方17 小时前
Kthena 核心原语:ModelServing CRD 如何定义分布式推理“新标准”?
大数据·分布式·云原生·容器·云计算
China_Yanhy18 小时前
【云原生 AI 实战(二)】大模型训练的“深水区”:从 Pod 成功拉起到 GPU 性能监控与模型导出
人工智能·云原生·aws
翼龙云_cloud18 小时前
亚马逊云代理商:DeepSeek V4海外使用指南 AWS部署方案
人工智能·云计算·aws·ai智能体·deepseek v4
号码认证服务1 天前
如何让经销商接电话时看到“XX集团”?申请号码认证统一上线
服务器·经验分享·sql·华为·智能手机·华为云·云计算
互联网科技看点1 天前
泛微・齐业成核心优势深度解析:数智化费控管理标杆
大数据·人工智能·云计算
TG_yunshuguoji2 天前
云代理商:Hermes Agent如何通过技能沉淀降低长期算力消耗
人工智能·云计算·ai 智能体·hermes agent