Which of the following best describes the primary purpose of AWS Systems Manager Parameter Store?
Think about a service that helps keep configuration and secrets safe and easy to update.
AWS Systems Manager Parameter Store is designed to store configuration data and secrets centrally, so applications can retrieve them securely and consistently.
Given the following CloudFormation snippet, what will be the value of the InstanceType property if the stack is launched without specifying any parameter overrides?
{
"Parameters": {
"InstanceTypeParam": {
"Type": "String",
"Default": "t3.micro",
"AllowedValues": ["t3.micro", "t3.small", "t3.medium"]
}
},
"Resources": {
"MyEC2Instance": {
"Type": "AWS::EC2::Instance",
"Properties": {
"InstanceType": { "Ref": "InstanceTypeParam" },
"ImageId": "ami-0abcdef1234567890"
}
}
}
}Check the default value defined in the parameter section.
If no parameter override is provided, CloudFormation uses the default value specified in the parameter definition.
You want to deploy the same CloudFormation template to multiple environments (dev, test, prod) with different database endpoints. Which approach best uses parameters to achieve this?
Think about flexibility and reusability of the template across environments.
Using a parameter without a default forces you to provide the correct database endpoint per environment, making the template reusable and environment-specific.
Which option correctly describes how to securely store a database password in AWS Systems Manager Parameter Store?
Consider encryption and access control best practices.
SecureString parameters use encryption with AWS KMS and access can be controlled with IAM policies, ensuring the password is protected.
You update a SecureString parameter in AWS Systems Manager Parameter Store multiple times. What happens to the parameter versions and how can you retrieve the previous version?
Think about version control and retrieval capabilities of Parameter Store.
Parameter Store assigns a new version number for each update and allows retrieval of previous versions by specifying the version number.