A SysOps administrator is managing configuration settings in AWS Systems Manager Parameter Store. A configuration parameter named `/prod/app/config` was created under the Standard parameter tier. The administrator needs to attach an Expiration parameter policy to this parameter to automatically delete it after an upcoming maintenance window. The administrator also wants to ensure that the parameter can be changed back to the Standard tier after the maintenance window to minimize ongoing costs. Which action should the administrator take to meet these requirements?
- Upgrade the parameter to the Advanced tier to apply the Expiration policy, and accept that the parameter cannot be downgraded back to the Standard tier.Cevap
- BApply the Expiration policy to the parameter under the Standard tier, provided that the parameter is encrypted using a customer managed KMS key and the KMS key policy allows Systems Manager access.
- CConfigure an AWS Secrets Manager secret rotation Lambda function to periodically check and delete the parameter from the Standard tier once the maintenance window has passed.
- DApply the Expiration policy to the Advanced tier, and attach an IAM role to the policy using the iam:PassRole permission to allow Parameter Store to delete the parameter.
Cevap
Upgrade the parameter to the Advanced tier to apply the Expiration policy, and accept that the parameter cannot be downgraded back to the Standard tier.
The correct option is the one stating the parameter must be upgraded to the Advanced tier and cannot be downgraded. In AWS Systems Manager Parameter Store, parameter policies (such as Expiration) are only available in the Advanced tier. Upgrading a parameter from the Standard tier to the Advanced tier is a one-way operation; Parameter Store does not support downgrading an Advanced parameter back to the Standard tier.
Adım Adım Çözüm
Anahtar Kavram
Systems Manager Parameter Store Tiers and Parameter Policies
Tahmini Süre:1m 30s