Terraform Associate Modules and Workspaces Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 8865 | Total Attempts: 106,055
| Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. In a module, how do you expose values to the calling configuration?

Submit
Please wait...
About This Quiz
Terraform Associate Modules and Workspaces Quiz - Quiz

This quiz evaluates your understanding of Terraform modules and workspaces, two critical components for organizing and managing infrastructure code. Modules enable code reusability and maintainability, while workspaces support managing multiple environments. Ideal for professionals preparing for the Terraform Associate certification.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. When you delete a workspace, all resources managed by that workspace are automatically destroyed.

Submit

3. A Terraform module must be stored in a separate GitHub repository.

Submit

4. Module variables can have default values defined in variables.tf.

Submit

5. Workspaces are useful for managing development, staging, and production environments.

Submit

6. A module source can reference which of the following? Select all that apply.

Submit

7. Which of these is NOT typically included in a module's outputs.tf file?

Submit

8. What command switches between workspaces in Terraform?

Submit

9. How do you reference an output from a module in your root configuration?

Submit

10. What is the scope of a workspace's state file in Terraform?

Submit

11. What is the primary purpose of a Terraform module?

Submit

12. Which command lists all existing workspaces?

Submit

13. What file in a module typically declares the required input variables?

Submit

14. How do you pass variables to a Terraform module?

Submit

15. What is the default workspace name in Terraform?

Submit

16. Which of the following is a benefit of using modules in Terraform?

Submit

17. How do you create a new workspace in Terraform?

Submit

18. In Terraform, what does a workspace allow you to do?

Submit

19. What is the correct syntax to call a module in Terraform?

Submit

20. Which directory structure is required for a Terraform module?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In a module, how do you expose values to the calling configuration?
When you delete a workspace, all resources managed by that workspace...
A Terraform module must be stored in a separate GitHub repository.
Module variables can have default values defined in variables.tf.
Workspaces are useful for managing development, staging, and...
A module source can reference which of the following? Select all that...
Which of these is NOT typically included in a module's outputs.tf...
What command switches between workspaces in Terraform?
How do you reference an output from a module in your root...
What is the scope of a workspace's state file in Terraform?
What is the primary purpose of a Terraform module?
Which command lists all existing workspaces?
What file in a module typically declares the required input variables?
How do you pass variables to a Terraform module?
What is the default workspace name in Terraform?
Which of the following is a benefit of using modules in Terraform?
How do you create a new workspace in Terraform?
In Terraform, what does a workspace allow you to do?
What is the correct syntax to call a module in Terraform?
Which directory structure is required for a Terraform module?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!