An enterprise-grade media streaming platform is deploying a new content analytics service. The service consists of containerized microservices running on AWS Fargate in a private subnet. The application requires access to two distinct items: a non-sensitive database configuration string that changes per environment, and a highly sensitive API token used to authenticate with an external content delivery network (CDN) partner. The database configuration must be retrieved with low latency and without incurring additional request fees. The CDN API token must be encrypted at rest, rotated automatically every 30 days via a custom rotation schedule, and must never be exposed as plaintext in the Fargate task definition or console.
Which combination of actions should a solutions architect take to meet these requirements securely and cost-effectively? (Select TWO.)
- Store the database configuration string as a standard String parameter in AWS Systems Manager Parameter Store, and reference its Amazon Resource Name (ARN) in the ECS container definition using the valueFrom parameter to inject it as an environment variable.Answer
- Store the CDN API token in AWS Secrets Manager, configure a rotation schedule that runs a custom AWS Lambda function every 30 days, and grant the ECS task execution role permission to decrypt the secret using a Customer Managed Key.Answer
- CStore the CDN API token as a standard String parameter in AWS Systems Manager Parameter Store to avoid additional storage costs, and configure an Amazon EventBridge scheduled rule to update the parameter value via a Lambda function every 30 days.
- DStore the CDN API token in AWS Secrets Manager, encrypt it using the AWS managed key aws/secretsmanager, and enable automatic key rotation on the KMS key to rotate the CDN API token value every 30 days.
- EStore the database configuration string in AWS Secrets Manager, and store the CDN API token in AWS Systems Manager Parameter Store as a SecureString parameter using the native Parameter Store automatic rotation policy.