Skip to main content

CLF-C02 practice question · Security and Compliance

A company needs to store a third-party API key that its application uses, with automatic rotation and without hardcoding…

A company needs to store a third-party API key that its application uses, with automatic rotation and without hardcoding it in source code. Which AWS service is designed for this?

  • AAWS Secrets Manager
  • BAmazon S3 with default settings
  • CAWS CloudFormation
  • DAmazon CloudWatch Logs
Show the answer and explanation

Correct answer: A) AWS Secrets Manager

Why each option is right or wrong

  • A) Correct. Secrets Manager is built to securely store, retrieve, and automatically rotate secrets like API keys and database credentials, keeping them out of source code.
  • B) Incorrect. S3 is general-purpose object storage, not a purpose-built secrets manager with automatic rotation capabilities.
  • C) Incorrect. CloudFormation provisions infrastructure as code — it isn't a secrets-storage service.
  • D) Incorrect. CloudWatch Logs stores log data for monitoring — it's not designed to securely store and rotate credentials.
Exam domain
Security and Compliance · 30% of CLF-C02
Question type
Multiple choice (one answer)

Practise the full CLF-C02 exam

This question is one of a small free sample from the CertRidge CLF-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.