Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

A developer has implemented an AWS Lambda function that inserts new customers into an Amazon...

A developer has implemented an AWS Lambda function that inserts new customers into an Amazon RDS database. The function is expected to run hundreds of times each hour. The function and RDS database are in the same VPC. The function is configured to use 512 MB of RAM and is based on the following pseudocode:

def lambda_handler(event, context):

db = database.connect()

db.statement("INSERT INTO Customers (CustomerName) VALUES (%s)", event.name)

db.execute()

db.close()

After successfully testing the function multiple times, the developer notices that the execution time is longer than expected.

What should the developer do to improve performance?

A.

Increase the reserved concurrency of the Lambda function.

B.

Increase the size of the RDS database to facilitate an increased number of database connections each hour.

C.

Move the database connection and close statement out of the handler. Place the connection in the global space.

D.

Replace Amazon RDS with Amazon DynamoDB to implement control over the number of writes per second.

Amazon Web Services DVA-C02 Summary

  • Vendor: Amazon Web Services
  • Product: DVA-C02
  • Update on: Mar 11, 2026
  • Questions: 519
Price: $52.5  $149.99
Buy Now DVA-C02 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method