Site icon i2tutorials

AWS DevOps CloudFormation – Quiz

This Quiz contains totally 25 Questions each carry 1 point for you.

1.What is AWS CloudFormation?
A service that allows you to manage resources in AWS.
A service that allows you to model and provision AWS resources.
A service that allows you to analyze data in AWS.
A service that allows you to visualize your data in AWS.

Correct!

Wrong!

2.What are AWS CloudFormation Stacks?
They are collections of AWS resources.
They are collections of AWS services.
They are collections of AWS regions.
They are collections of AWS users.

Correct!

Wrong!

3.What is a CloudFormation template?
A JSON or YAML-formatted text file.
An XML-formatted text file.
A CSV-formatted text file.
A DOCX-formatted text file.

Correct!

Wrong!

4.What are the Stack parameters in AWS CloudFormation?
They are the outputs of the stack.
They are the inputs to the stack.
They are the resources of the stack.
They are the metadata of the stack.

Correct!

Wrong!

5.What are Nested Stacks in AWS CloudFormation?
They are stacks that contain other stacks.
They are stacks that contain resources.
They are stacks that contain parameters.
They are stacks that contain outputs.

Correct!

Wrong!

6.What are StackSets in AWS CloudFormation?
They are used for deploying stacks across multiple regions.
They are used for deploying resources within a single stack.
They are used for deploying stacks in a single region.
They are used for deploying resources across multiple stacks.

Correct!

Wrong!

7.What is the role of outputs in AWS CloudFormation Stacks?
They are used to import and export values between stacks.
They are used to create resources within a stack.
They are used to input values into a stack.
They are used to update resources within a stack.

Correct!

Wrong!

8.What are mappings in AWS CloudFormation?
They are used to map keys and values that are unique to a particular region.
They are used to map resources within a stack.
They are used to map parameters of a stack.
They are used to map outputs of a stack.

Correct!

Wrong!

9.Which AWS services can be integrated with AWS CloudFormation?
Only storage services.
Only compute services.
Only database services.
Almost any AWS service.

Correct!

Wrong!

10.What language is used to write AWS CloudFormation templates?
Python
JSON or YAML
XML
JavaScript

Correct!

Wrong!

11.What is the purpose of AWS CloudFormation?
To analyze AWS services.
To visualize data within AWS.
To automate resource provisioning in AWS.
To monitor AWS services.

Correct!

Wrong!

12.How does AWS CloudFormation handle updates to existing stacks?
It deletes and recreates the stack.
It modifies the resources within the stack as defined by the changes in the stack's AWS CloudFormation template.
It creates a new stack and deletes the old one.
It does not support updates to existing stacks.

Correct!

Wrong!

13.Which AWS CloudFormation feature helps in preventing accidental deletion of AWS resources?
StackSet
Stack policy
Nested Stack
Stack parameters

Correct!

Wrong!

14.What can you define in the 'Resources' section of an AWS CloudFormation template?
The outputs that you want to import to other stacks.
The AWS resources that you want to create and configure.
The parameters that you want to pass to your templates at runtime.
The mappings of keys and associated values.

Correct!

Wrong!

15.What does AWS CloudFormation use to understand the order in which resources in a stack should be created?
Stack policy
Dependency declaration
Stack parameters
Stack outputs

Correct!

Wrong!

16.Which of the following can be used to organize resources in AWS CloudFormation?
StackSets
Nested Stacks
Mappings
Outputs

Correct!

Wrong!

17.What does a stack in AWS CloudFormation represent?
A specific instance of a resource.
A template.
A specific instance of a template.
A specific instance of a service.

Correct!

Wrong!

18.What is the main advantage of using AWS CloudFormation StackSets?
They allow you to create stacks in AWS Management Console.
They allow you to deploy a CloudFormation stack across multiple accounts and regions with a single operation.
They allow you to organize resources in AWS CloudFormation.
They allow you to import and export values between stacks.

Correct!

Wrong!

19.What is the AWS CloudFormation service primarily used for?
Data analysis.
Infrastructure as Code (IaC).
Data visualization.
Machine learning.

Correct!

Wrong!

20.Which section of the AWS CloudFormation template do you specify the AWS resources to create?
Parameters
Resources
Mappings
Outputs

Correct!

Wrong!

21.What is the maximum number of nested stacks that you can include in a stack?
20
50
100
200

Correct!

Wrong!

22.What happens to AWS CloudFormation stack resources when a stack is deleted?
Resources are stopped but not deleted.
Resources are detached but not deleted.
Resources are deleted.
Resources are not affected.

Correct!

Wrong!

23.Which section of the AWS CloudFormation template is optional?
Resources
Parameters
Mappings
Outputs

Correct!

Wrong!

24.What is the best practice for handling sensitive data such as database passwords when creating AWS CloudFormation templates?
Include the sensitive data directly in the template.
Use AWS Secrets Manager or Parameter Store and reference them in the template.
Use an environment variable in the template.
Include the sensitive data in a separate text file and reference it in the template.

Correct!

Wrong!

25.Which AWS CloudFormation feature allows you to re-use common template pattern?
StackSets
Outputs
Nested Stacks
Parameters

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

AWS DevOps CloudFormation – Quiz

You got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...

Exit mobile version