AWS EC2 Performance Optimization: Enhance User Experience and Minimize Network Latency

Optimizing Application Performance: Two Key Tools for AWS EC2

Prev Question Next Question

Question

You lead a team to develop a new web application in AWS EC2

The application will have a large number of users globally.

For a great user experience, this application requires very low network latency and jitter.

If the network speed is not fast enough, you will lose customers.

Which tool would you choose to improve the application performance? (Select TWO.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer - B, E.

This web application has global users and needs low latency.

Both CloudFront and Global Accelerator can speed up the distribution of contents over the AWS global network.

Option A is incorrect: AWS VPN links on-premise network to AWS network.

However, no on-premise services are mentioned in this question.

Option B is CORRECT: AWS Global Accelerator works at the network layer and can direct traffic to optimal endpoints.

For reference, check the link https://docs.aws.amazon.com/global-accelerator/latest/dg/what-is-global-accelerator.html.

Option C is incorrect: Direct Connect links on-premise network to AWS network.

However, no on-premise services are mentioned in this question.

Option D is incorrect: API Gateway is a regional service and cannot improve the application performance.

API Gateway is suitable for serverless applications such as Lambda.

Option E is CORRECT: Because CloudFront delivers content through edge locations, and users are routed to the edge location with the lowest time delay.

For a web application that requires very low network latency and jitter, there are a few tools available on AWS that can be used to improve performance.

The two tools that would be suitable for this scenario are:

  1. AWS Global Accelerator: AWS Global Accelerator is a networking service that provides static IP addresses that can be used to route traffic to the optimal AWS endpoint based on geographic location, health checks, and routing policies. It improves the availability and performance of your applications by routing traffic over the AWS global network instead of the public internet. It can also automatically reroute traffic to healthy endpoints in case of an outage or degradation in performance. By using AWS Global Accelerator, you can reduce network latency and improve the user experience for customers globally.

  2. Amazon CloudFront: Amazon CloudFront is a content delivery network (CDN) that caches and delivers static and dynamic web content, including images, videos, and APIs, to end-users from the edge locations closest to them. This reduces the distance that requests must travel and improves the speed at which content is delivered to users. CloudFront also provides features like SSL/TLS encryption, custom domain names, and geo-restriction to help improve the security, reliability, and performance of your web application.

Therefore, in order to improve the performance of the web application with low latency and jitter, it is recommended to use AWS Global Accelerator and Amazon CloudFront in combination.