nerdexam
Amazon

DBS-C01 · Question #347

A company has a web application that uses Amazon API Gateway to route HTTPS requests to AWS Lambda functions. The application uses an Amazon Aurora MySQL database for its data storage. The…

The correct answer is A. Migrate the Aurora MySQL database to Amazon Aurora Serverless by restoring a snapshot. To handle unpredictable traffic surges and database connection overloads for an Aurora MySQL database with API Gateway and Lambda, migrating to Aurora Serverless is the most cost-effective and scalable solution, offering automatic capacity scaling and resilience.

Submitted by tom_us· Mar 6, 2026Management and Operations

Question

A company has a web application that uses Amazon API Gateway to route HTTPS requests to AWS Lambda functions. The application uses an Amazon Aurora MySQL database for its data storage. The application has experienced unpredictable surges in traffic that overwhelm the database with too many connection requests. The company needs to implement a scalable solution that is more resilient to database failures as quickly as possible. Which solution will meet these requirements MOST cost-effectively?

Options

  • AMigrate the Aurora MySQL database to Amazon Aurora Serverless by restoring a snapshot.
  • BMigrate the Aurora MySQL database to Amazon DynamoDB tables by using AWS Database
  • CCreate an Amazon EventBridge rule that invokes a Lambda function. Code the function to iterate
  • DIncrease the instance class for the Aurora database with more memory. Set a larger value for the

How the community answered

(24 responses)
  • A
    83% (20)
  • B
    4% (1)
  • C
    4% (1)
  • D
    8% (2)

Why each option

To handle unpredictable traffic surges and database connection overloads for an Aurora MySQL database with API Gateway and Lambda, migrating to Aurora Serverless is the most cost-effective and scalable solution, offering automatic capacity scaling and resilience.

AMigrate the Aurora MySQL database to Amazon Aurora Serverless by restoring a snapshot.Correct

Migrating to Amazon Aurora Serverless allows the database to automatically scale its capacity up and down based on application demand, including handling unpredictable surges in traffic and connection requests, preventing database overloads. It also manages connection pooling automatically, and restoring from a snapshot is a quick way to transition, making it a cost-effective and resilient solution.

BMigrate the Aurora MySQL database to Amazon DynamoDB tables by using AWS Database

Migrating from a relational Aurora MySQL database to a NoSQL Amazon DynamoDB table would involve significant schema redesign and application code changes for the Lambda functions, making it a complex and time-consuming solution, not "as quickly as possible" or "most cost-effectively" in terms of immediate implementation.

CCreate an Amazon EventBridge rule that invokes a Lambda function. Code the function to iterate

Creating an Amazon EventBridge rule to invoke a Lambda function to iterate through and kill idle connections is a reactive and complex operational task that does not inherently prevent connection surges or provide proactive scaling for the database, and is not a scalable solution for the core problem.

DIncrease the instance class for the Aurora database with more memory. Set a larger value for the

Increasing the instance class and `max_connections` for the existing Aurora database might temporarily alleviate some connection issues, but it's a fixed capacity solution that does not automatically scale with unpredictable surges and can lead to over-provisioning and higher costs during low traffic, making it less cost-effective than Serverless.

Concept tested: Aurora Serverless for variable workloads

Source: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html

Topics

#Aurora MySQL#connection management#scaling#cost-effectiveness

Community Discussion

No community discussion yet for this question.

Full DBS-C01 Practice