Course menuSAA-C03

Exams / SAA-C03 / Secrets management / Question 2

SAA-C03 practice question: Secrets management (2 of 2)

Design Secure Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

A company runs 12 microservices that share about 400 configuration values, such as feature flags, service URLs and third-party API tokens. Every value is under 1 KB, and values are organised by environment and service, such as /prod/billing/. The API tokens must be encrypted with AWS KMS. Each service must be able to read only its own values, and none of the values needs automatic rotation. Which solution is MOST cost-effective?

Choose one answer.

  1. A. Store each value as a separate secret in AWS Secrets Manager, named by path such as /prod/billing/, with IAM policies that match each service's prefix.
  2. B. Store the values in Parameter Store as standard-tier parameters, using SecureString for the tokens, with IAM policies scoped to each service's path.
  3. C. Store the values in Parameter Store as advanced-tier parameters, using SecureString for the tokens, with IAM policies scoped to each service's path.
  4. D. Store one secret per environment in AWS Secrets Manager that holds all the values as JSON, and give every service read access to its environment's secret.
Show the answer and explanation

Answer: B

Explanation

Parameter Store standard parameters have no additional charge, hold values up to 4 KB, support hierarchies such as /prod/billing/ and can be encrypted with KMS as SecureString. IAM policies can grant access by path. Secrets Manager charges per secret and is worth it mainly for managed rotation, and advanced parameters are charged for features not needed here.

Study

Keep practising

Answer questions with a score at the end, or practise just this topic with the explanation after each one. No sign-up needed.