exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 685 discussion

A company hosts a serverless application on AWS. The application uses Amazon API Gateway, AWS Lambda, and an Amazon RDS for PostgreSQL database.
The company notices an increase in application errors that result from database connection timeouts during times of peak traffic or unpredictable traffic. The company needs a solution that reduces the application failures with the least amount of change to the code.
What should a solutions architect do to meet these requirements?

  • A. Reduce the Lambda concurrency rate.
  • B. Enable RDS Proxy on the RDS DB instance.
  • C. Resize the RDS DB instance class to accept more connections.
  • D. Migrate the database to Amazon DynamoDB with on-demand scaling.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Danilus
7 months, 3 weeks ago
Selected Answer: B
key-database connection timeouts during times of peak traffic or unpredictable traffic the answer is c because proxy is an intermediary server or service between a client (browser or application) and a destination server (web server ,database).proxy manage comunication between the two working as a connection pooler
upvoted 1 times
Danilus
7 months, 3 weeks ago
B * sorry for that
upvoted 1 times
...
...
MassieMan
2 years, 6 months ago
Selected Answer: B
Answer B You can enable RDS Proxy for most applications with no code changes.
upvoted 1 times
...
attila9778
2 years, 7 months ago
B it is See also: https://aws.amazon.com/rds/proxy/ "Amazon RDS Proxy allows applications to pool and share connections established with the database, improving database efficiency and application scalability. With RDS Proxy, failover times for Aurora and RDS databases are reduced by up to 66% ..." "Amazon RDS Proxy can be enabled for most applications with no code changes. You don’t need to provision or manage any additional infrastructure to start using RDS Proxy."
upvoted 1 times
...
sivasumanth
2 years, 8 months ago
Selected Answer: B
B it is
upvoted 1 times
...
praveenas400
2 years, 9 months ago
Answer B. Using RDS Proxy, you can handle unpredictable surges in database traffic. Otherwise, these surges might cause issues due to oversubscribing connections or creating new connections at a fast rate. RDS Proxy establishes a database connection pool and reuses connections in this pool. This approach avoids the memory and CPU overhead of opening a new database connection each time. To protect the database against oversubscription, you can control the number of database connections that are created. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...