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 4Question 31
    Easy1 markMultiple Choice
    Domain 2.3: Security ControlsSecrets ManagerSecurityRDS

    AWS SAP-C02 · Question 31 · Domain 2.3: Security Controls

    A company is building a new application using AWS CDK. The application requires a database password to connect to Amazon RDS. The security team mandates that the password must be automatically rotated every 30 days without any application downtime. Which solution meets these requirements?

    Answer options:

    A.

    Store the password in AWS Systems Manager Parameter Store as a SecureString. Use EventBridge to trigger a Lambda function for rotation.

    B.

    Store the password in AWS Secrets Manager and configure automatic rotation using an AWS Lambda function.

    C.

    Store the password in AWS KMS and set the key rotation policy to 30 days.

    D.

    Hardcode the password in the CDK code and use a CI/CD pipeline to redeploy every 30 days.

    How to approach this question

    Identify the service specifically designed for database credential rotation.

    Full Answer

    B.Store the password in AWS Secrets Manager and configure automatic rotation using an AWS Lambda function.✓ Correct
    AWS Secrets Manager is specifically designed to manage, retrieve, and automatically rotate database credentials. It provides built-in integration with Amazon RDS and uses Lambda functions to safely rotate the password without causing application downtime.

    Common mistakes

    Confusing KMS key rotation with database password rotation.
    Question 30All questionsQuestion 32

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is redesigning its network architecture across 50 AWS accounts. They require ...HardQ02A financial services company uses AWS Organizations to manage 100+ accounts. The security team ma...MediumQ03An e-commerce company requires a multi-region active-active architecture for its critical order p...MediumQ04A company is setting up a new AWS environment using AWS Control Tower. They need to ensure that a...HardQ05An enterprise has 50 AWS accounts under AWS Organizations. They want to implement a chargeback mo...Medium
    View all 75 questions →