MLA-C01 practice question 5 of 10
A company has an application that uses different APIs to generate embeddings for input text. The company needs to implement a solution to automatically rotate the API tokens every 3 months. Which solution will meet this requirement?
Full set: 259 questionsAWS Secrets Manager is the purpose-built AWS service for managing the lifecycle of secrets, including API tokens. It provides a native framework for automatic rotation. For secrets that AWS cannot rotate natively, such as third-party API tokens, Secrets Manager integrates directly with AWS Lambda. You can configure Secrets Manager to invoke a specific Lambda function on a schedule (e.g., every 90 days) to handle the custom logic required to connect to the third-party API, generate a new token, and update the secret value in Secrets Manager.
B: While AWS Systems Manager Parameter Store can store secrets, it lacks the built-in, managed rotation framework that Secrets Manager offers, making it a less direct and less capable solution for this specific requirement. C: AWS Key Management Service (AWS KMS) is used to create and manage cryptographic keys for encryption, not to store or rotate application-level secrets like API tokens. D: Similar to option C, AWS KMS manages encryption keys. The key type (AWS owned vs. AWS managed) is irrelevant as the service's fundamental purpose is not secret storage or rotation.
1. AWS Secrets Manager Documentation: "For other types of secrets
including API keys... you can create a Lambda function to define how Secrets Manager rotates the secret. This is called a custom rotation strategy."
Source: AWS Secrets Manager User Guide
"Rotate AWS Secrets Manager secrets".
2. AWS Lambda and Secrets Manager Integration: "Secrets Manager uses a Lambda function to rotate a secret... Secrets Manager calls your Lambda function at least twice during a rotation."
Source: AWS Secrets Manager User Guide
"How rotation works".
3. AWS KMS Service Definition: "AWS Key Management Service (AWS KMS) is a managed service that makes it easy for you to create and control the cryptographic keys that you use to protect your data."
Source: AWS Key Management Service Developer Guide
"What is AWS Key Management Service?".
Keep practicing
Take the free MLA-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MLA-C01 practice questions
- Question 1A company is using ML to predict the presence of a specific weed in a farmer's field. The…
- Question 2An ML engineer is developing a fraud detection model on AWS. The training dataset include…
- Question 3An ML engineer needs to use an ML model to predict the price of apartments in a specific …
- Question 4A company uses Amazon SageMaker for its ML workloads. The company's ML engineer receives …
- Question 6An ML engineer needs to use data with Amazon SageMaker Canvas to train an ML model. The d…
- Question 7A company is building a web-based AI application by using Amazon SageMaker. The applicati…
