nerdexam
CompTIA

CV0-004 · Question #165

A cloud engineer wants to deploy a new application to the cloud and is writing the following script: Which of the following actions will this script perform?

The correct answer is B. Create a new cloud resource. The Terraform script shown in the attachment is intended to create a new cloud resource, specifically a server instance (app_server) in a specified region using the cloud provider (cloud_provider1). It defines a resource of type server_instance with attributes such as an Amazon…

Deployment

Question

A cloud engineer wants to deploy a new application to the cloud and is writing the following script:

Which of the following actions will this script perform?

Exhibit

CV0-004 question #165 exhibit

Options

  • AUpload a new VM image.
  • BCreate a new cloud resource.
  • CBuild a local server.
  • DImport a cloud module.

How the community answered

(57 responses)
  • A
    2% (1)
  • B
    95% (54)
  • C
    4% (2)

Explanation

The Terraform script shown in the attachment is intended to create a new cloud resource, specifically a server instance (app_server) in a specified region using the cloud provider (cloud_provider1). It defines a resource of type server_instance with attributes such as an Amazon Machine Image (ami) ID and an instance type (t2.micro). Terraform is an Infrastructure as Code (IaC) tool used for defining and provisioning infrastructure resources in the

Topics

#Cloud Deployment#Infrastructure as Code#Cloud Provisioning#Automation

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice