As a Solutions Architect for an e-commerce company, you are asked to improve the overall performance of an application that is behind Amazon API Gateway. You also need to protect the backend system and the application from traffic spikes.What is the optimal solution that you would recommend?Enable API Gateway to automatically scale and set throttling limitsEnable caching and set throttling limits.Enable caching and scale API gateway services.Enable caching and WAF (Web Application Firewall)
Question
As a Solutions Architect for an e-commerce company, you are asked to improve the overall performance of an application that is behind Amazon API Gateway. You also need to protect the backend system and the application from traffic spikes.What is the optimal solution that you would recommend?Enable API Gateway to automatically scale and set throttling limitsEnable caching and set throttling limits.Enable caching and scale API gateway services.Enable caching and WAF (Web Application Firewall)
Solution
To improve the overall performance of the application behind Amazon API Gateway and protect the backend system and application from traffic spikes, the optimal solution would be to enable caching and set throttling limits.
Enabling caching will allow frequently accessed data to be stored and served quickly, reducing the load on the backend system. This will improve the response time and overall performance of the application.
Setting throttling limits will help control the amount of traffic that can be sent to the backend system. By limiting the number of requests per second, you can prevent overload and ensure the system remains stable even during traffic spikes.
Enabling API Gateway to automatically scale is also a good option, as it allows the system to handle increased traffic by dynamically adjusting its resources. However, this alone may not be sufficient to protect the backend system from traffic spikes.
Adding a Web Application Firewall (WAF) to the solution can provide an additional layer of protection against malicious traffic and attacks. However, it may not directly address the performance improvement aspect of the question.
Therefore, the recommended optimal solution would be to enable caching and set throttling limits. This will improve performance, protect the backend system, and handle traffic spikes effectively.
Similar Questions
You are consulting for a company that promotes large musical events. They are going to announce a concert of a well known artist and expect a 10 fold increase in requests to their service. The service is based on API Gateway triggering a series of Lambda functions and an Amazon Relational Database Service (Amazon RDS) Database for persistent storage.What suggestions would you make for cost effective scaling?Set Lambda provisioned concurrency to a value that meets your cost targetEnable API Gateway caching to reduce backend invocationsScale the Amazon RDS instance up during the peak request periodUse API Keys to rate limit incoming user requests
Your company wants to expose their services to external developers as public APIs. They want to do this for monetization, visibility and engagement that results in growth. They also want to throttle requests to those APIs based on defined limits and quotas.What service would you suggest to meet the requirements?AWS AppSyncApplication Load BalancerAmazon API GatewayLambda Function URL
Which of the following statements are correct regarding Amazon API Gateway? (Select two)Question 62AnswerA.Amazon API Gateway does not yet support API result cachingB.API Gateway can be configured to send data directly to Amazon Kinesis Data StreamC.If an API response is served by the cached data, it is not considered an API call for billing purposesD.Amazon API Gateway creates RESTful APIs, Storage Gateway creates WebSocket APIsE. Amazon API Gateway can call an AWS Lambda function to create the front door of a serverless application
Your company has a serverless application with Amazon API Gateway and AWS Lambda having both read, as well as, write APIs. The developers make frequent changes to the Lambda code and run load tests on the application after every change. The regular load testing has resulted in a spike in the cost.What are the best practices and cost savings options available on their Lambda compute usage? (Select TWO)Changing Lambda code does not necessarily require load testing. Unit and integration tests are sufficient.User reserve concurrency for the lambda functions and set the concurrency to a lower value.Use compute savings plan for lambda (discounted Savings Plans rates of up to 17% for a 1 or 3 year term, up to the commitment level.)Use Amazon EC2 instead of lambda.Use caching on Amazon API Gateway.
As a Solution Architect working for an online gaming company, you have been informed the player feedback system is slow to respond during peak periods. The feedback is reviewed weekly by the game developers. The current system submits the feedback to an Amazon API Gateway which invokes a Lambda function to first validate and then store the review in a Amazon DynamoDB table. This table has been configured with provisioned capacity.What suggestion would you offer to remove the players wait time?Enable API caching and payload compression in Amazon API GatewayIncrease the Lambda functions memory configuration so that it can process each client request faster.Change Amazon DynamoDB from provisioned capacity to on-demand allowing the table to scale up to handle any increases in demand.Insert an Amazon Simple Queue Service queue between the API Gateway and Lambda function. Use Lambda's native SQS poller to read off the queue. Refactor the Lambda function to handle the new event object.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.