AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A financial services company is modernizing a legacy application into a container-based microservices architecture running on Amazon ECS. The application requires credentials for an Amazon RDS for PostgreSQL database and several third-party APIs. The company operates separate AWS accounts for development and production environments. A key security requirement is that all secrets must be automatically rotated on a schedule, with database credentials rotated every 30 days. The solution must support cross-account access for a centralized CI/CD pipeline and provide detailed auditing of secret access and usage. The company wants to use a fully managed AWS service to minimize operational overhead. Which strategy should a solutions architect recommend for managing these secrets?

  • Store credentials as advanced-tier parameters in AWS Systems Manager (SSM) Parameter Store. Use AWS RAM to share the parameters with the production account and create a scheduled Lambda function to handle secret rotation.

  • Deploy a high-availability HashiCorp Vault cluster on a fleet of Amazon EC2 instances. Configure Vault's AWS secrets engine for dynamic RDS credentials and enable cross-account access using Vault policies.

  • Encrypt the secret values using an AWS KMS customer-managed key and store the resulting ciphertext files in a central Amazon S3 bucket. Apply a bucket policy and KMS key policy to restrict access to the CI/CD pipeline's IAM role.

  • Store credentials in AWS Secrets Manager. Configure automatic rotation for the RDS database secret and use resource-based policies to grant the CI/CD pipeline's IAM role cross-account access to the required secrets.

AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot