Which of the following best describes the term 'resource' in Terraform?

Any physical or virtual machine managed by Terraform

A specific configuration and attributes used to define an infrastructure component

The term 'resource' in Terraform best refers to a specific configuration and attributes used to define an infrastructure component. In Terraform, a resource represents a single piece of infrastructure that you want to create or manage. This could include components like virtual machines, storage accounts, or networking configurations, among others.

When you define a resource in a Terraform configuration file, you specify its type (such as AWS EC2 instance, Azure Virtual Machine, etc.) and its properties or attributes (like size, region, and any other configurations pertinent to that resource). This enables Terraform to understand what infrastructure components you need and allows it to manage these components effectively through the declarative configuration model.

Aside from resources, other terms like modules or providers relate to other aspects of Terraform but do not capture the essence of what a resource is meant to represent in the context of infrastructure management and configuration.

Only the cloud provider's underlying services

A group of related Terraform modules

Want more questions?

All options are one-time payments.

$12.99

30 day pass for new members

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$29.99$92.93 usd

6 month DELUXE pass (most popular)

Full access FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • $92.93 usd value for $29.99! You save $62.94!
  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 6 months of full access
  • Ultimate digital PDF study guide included
  • Priority support
$14.99 $19.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy