A Company is designing a high availability solution for a customer. This customer's requirements are that their application needs to be able to handle an unexpected amount of load and allow site visitors to read data from a DynamoDB table, which contains the results of an online polling system. Given this information, what would be the best and most cost-saving method for architecting and developing this application?Select one:a. Use the JavaScript SDK and build a static HTML page, hosted inside of an Amazon S3bucket; use CloudFront and Route 53 to serve the website, which uses JavaScript client-sidelanguage to communicate with DynamoDBb. Create a CloudFront distribution that serves the HTML web page, but send the visitors to an Auto Scaling ELB application pointing to EC2 instances c. Create a Lambda script, which pulls the most recent DynamoDB polling results and creates a custom HTML page, inside of Amazon S3 and use CloudFront and Route 53 to servethe static websited. Deploy an Auto Scaling application with Elastic Load Balancer pointing to EC2 instances that use a server-side SDK to communicate with the DynamoDB table
Question
A Company is designing a high availability solution for a customer. This customer's requirements are that their application needs to be able to handle an unexpected amount of load and allow site visitors to read data from a DynamoDB table, which contains the results of an online polling system. Given this information, what would be the best and most cost-saving method for architecting and developing this application?Select one:a. Use the JavaScript SDK and build a static HTML page, hosted inside of an Amazon S3bucket; use CloudFront and Route 53 to serve the website, which uses JavaScript client-sidelanguage to communicate with DynamoDBb. Create a CloudFront distribution that serves the HTML web page, but send the visitors to an Auto Scaling ELB application pointing to EC2 instances c. Create a Lambda script, which pulls the most recent DynamoDB polling results and creates a custom HTML page, inside of Amazon S3 and use CloudFront and Route 53 to servethe static websited. Deploy an Auto Scaling application with Elastic Load Balancer pointing to EC2 instances that use a server-side SDK to communicate with the DynamoDB table
Solution
The best and most cost-saving method for architecting and developing this application would be option a. Use the JavaScript SDK and build a static HTML page, hosted inside of an Amazon S3 bucket; use CloudFront and Route 53 to serve the website, which uses JavaScript client-side language to communicate with DynamoDB.
This solution is cost-effective because it minimizes the use of server-side resources. The static HTML page hosted on S3 is cheap and scales well. CloudFront, a content delivery network, caches the site at edge locations for faster delivery, reducing the load on the S3 bucket. Route 53 handles DNS services, directing users to the correct location for the site. The JavaScript SDK allows the client's browser to communicate directly with DynamoDB, reducing the need for server-side processing.
This setup can handle unexpected loads because of its scalability. S3 can handle high amounts of traffic, CloudFront can cache content close to the user, and DynamoDB can handle high read and write loads.
In contrast, options b, c, and d involve more server-side processing (EC2 instances, Lambda functions), which can be more expensive and may not scale as well under high load.
Similar Questions
weather-tracking application is built using Amazon DynamoDB. The performance of the application has been consistently good. But lately, the team has realized that during holidays and travel seasons, the load on the application is high and the read requests consume most of the database resources, thereby drastically increasing the overall application latency. Which feature/service will help resolve this issue?Question 63Answera.Amazon CloudFrontb.Amazon DynamoDB Acceleratorc.Amazon DynamoDB Regulatord.Amazon ElastiCache
A digital marketing company needs to deliver real-time, personalized experiences to its customers through their application. They want to store and retrieve users' preferences and track users' activities. The solution needs to be scalable and provide low-latency access to data. Which AWS service would you recommend for this requirement?Question 27Answera.Amazon ElastiCacheb.AWS Lambdac.Amazon Redshiftd.Amazon RDS
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
To reduce costs, a company is planning to migrate a NoSQL database to AWS. Which AWS service is fully managed and can automatically scale throughput capacity to meet database workload demands?a.Amazon DynamoDBb.Amazon Redshiftc.Amazon Aurorad.Amazon RDS
You're working on an existing application that writes its state data to an Amazon DynamoDB Table using the PutItem API. You want to build an asynchronous, event-driven observer mechanism that watches for item-level changes happening in this existing DynamoDB Table and invoke a Lambda function to publish a message to an Amazon Simple Notification Service (SNS) Topic of the change. What is the lowest cost solution while still using DynamoDB?Use Amazon Kinesis Firehose: as an item is written to the Amazon DynamoDB Table, Amazon Kinesis Firehose writes the data to Amazon S3 bucket. The Amazon S3 bucket is configured with an onCreate event to invoke a Lambda function that publishes a message to an Amazon SNS Topic.Update the existing application's implementation to write its state data to Amazon DynamoDB Table, then conditionally wait for a '200 OK' response from the PutItem API before invoking the Lambda function to publish a message to an Amazon Simple Notification Service SNS Topic.Use Amazon DynamoDB Streams: as an item is written to the Amazon DynamoDB Table, a new stream record is written to reflect the item-level change that has happened to the table. This new stream record invokes a Lambda function, reading the data from the stream record, and publishes a message to an Amazon Simple Notification Service (SNS) Topic.Creating an Amazon EventBridge rule that runs on a regular schedule which invokes a Lambda function. This Lambda function performs a scan operation of the Amazon DynamoDB Table, and performs a diff against its last invocation. If there's a difference, a message is published to an Amazon Simple Notification Service (SNS) Topic.
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.