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 30
    Medium1 markMultiple Choice
    Domain 2.3: Security ControlsSecrets ManagerCloudFormationSecurity

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

    A company is deploying a new application using AWS CloudFormation. They need to ensure that sensitive parameters, such as database passwords, are not hardcoded in the templates and are rotated automatically every 30 days. Which THREE actions should they take? (Select THREE)

    Answer options:

    A.

    Store the passwords in AWS Systems Manager Parameter Store as SecureString.

    B.

    Store the passwords in AWS Secrets Manager.

    C.

    Use CloudFormation parameters with NoEcho set to true to pass passwords during stack creation.

    D.

    Configure an AWS Lambda function to handle the rotation logic for Secrets Manager.

    E.

    Hardcode the passwords in a private S3 bucket and reference them in CloudFormation.

    F.

    Use dynamic references in the CloudFormation template to retrieve the secrets from Secrets Manager.

    G.

    Use AWS KMS to rotate the passwords.

    How to approach this question

    Identify the service for secret rotation and how CloudFormation integrates with it.

    Full Answer

    AWS Secrets Manager handles secret storage and automated rotation (via Lambda). CloudFormation uses dynamic references to securely fetch these secrets during stack deployment without exposing them.

    Common mistakes

    Choosing Parameter Store, which lacks native automated rotation capabilities.
    Question 29All questionsQuestion 31

    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 →