For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 2Question 52
    Medium1 markMultiple Choice
    Domain 2.4: ReliabilitySQSArchitectureReliability

    AWS SAP-C02 · Question 52 · Domain 2.4: Reliability

    An architect is designing a data ingestion pipeline. Data is sent to an API Gateway, which triggers a Lambda function. The Lambda function writes the data to an RDS database. During traffic spikes, the RDS database becomes overwhelmed and drops connections. How can the architect decouple the architecture to prevent database overload?

    Answer options:

    A.

    Increase the size of the RDS instance.

    B.

    Introduce an Amazon SQS queue between the API Gateway and the Lambda function.

    C.

    Use Amazon ElastiCache in front of the RDS database.

    D.

    Configure API Gateway to write directly to RDS.

    How to approach this question

    Use a queue to buffer writes and decouple components.

    Full Answer

    B.Introduce an Amazon SQS queue between the API Gateway and the Lambda function.✓ Correct
    Using Amazon SQS as a buffer decouples the ingestion rate from the processing rate. You can limit the Lambda concurrency to ensure the RDS database is only written to at a rate it can handle.

    Common mistakes

    Trying to scale the database instead of fixing the architectural coupling.
    Question 51All questionsQuestion 53

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 2

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A company is setting up a multi-account AWS environment using AWS Organizations. They need to ens...EasyQ02An enterprise needs to connect its on-premises data center to AWS. They require a dedicated, priv...EasyQ03A company wants to share a single AWS Transit Gateway across multiple AWS accounts within their A...EasyQ04An architect needs to design a highly available database architecture that spans multiple AWS Reg...EasyQ05A global financial institution is migrating its core banking application to AWS. The application ...Medium
    View all 75 questions →