ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 358 - SAA-C03 discussion

Report
Export

A company has an API that receives real-time data from a fleet of monitoring devices. The API stores this data in an Amazon RDS DB instance for later analysis. The amount of data that the monitoring devices send to the API fluctuates. During periods of heavy traffic, the API often returns timeout errors.

After an inspection of the logs, the company determines that the database is not capable of processing the volume of write traffic that comes from the API. A solutions architect must minimize the number of connections to the database and must ensure that data is not lost during periods of heavy traffic.

Which solution will meet these requirements?

A.
Increase the size of the DB instance to an instance type that has more available memory.
Answers
A.
Increase the size of the DB instance to an instance type that has more available memory.
B.
Modify the DB instance to be a Multi-AZ DB instance. Configure the application to write to all active RDS DB instances.
Answers
B.
Modify the DB instance to be a Multi-AZ DB instance. Configure the application to write to all active RDS DB instances.
C.
Modify the API to write incoming data to an Amazon Simple Queue Service (Amazon SQS) queue.Use an AWS Lambda function that Amazon SQS invokes to write data from the queue to the database.
Answers
C.
Modify the API to write incoming data to an Amazon Simple Queue Service (Amazon SQS) queue.Use an AWS Lambda function that Amazon SQS invokes to write data from the queue to the database.
D.
Modify the API to write incoming data to an Amazon Simple Notification Service (Amazon SNS) topic. Use an AWS Lambda function that Amazon SNS invokes to write data from the topic to the database.
Answers
D.
Modify the API to write incoming data to an Amazon Simple Notification Service (Amazon SNS) topic. Use an AWS Lambda function that Amazon SNS invokes to write data from the topic to the database.
Suggested answer: C

Explanation:

Using Amazon SQS will help minimize the number of connections to the database, as the API will write data to a queue instead of directly to the database. Additionally, using an AWS Lambda function that Amazon SQS invokes to write data from the queue to the database will help ensure that data is not lost during periods of heavy traffic, as the queue will serve as a buffer between the API and the database.

asked 16/09/2024
Alfred Macaraeg
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first