Hashicorp Certified Terraform Associate 003 · Free Practice Question Easy

Question 4

Which of the following is an advantage of using Infrastructure as Code?

  • A

    simplification of using a user interface to define your infrastructure

  • B

    increase the time to market for application deployment

  • C

    standardize your deployment workflow

  • D

    elimination of security vulnerabilities in your application deployment workflow

Reveal correct answer

Correct answer: C

Explanation

IaC helps organizations standardize their deployment workflows since they can codify and automate the deployment of applications and underlying infrastructure.


WRONG ANSWERS:

increase the time to market for application deployment - nope, who wants to use a tool that would INCREASE the time to market for application deployment? We want to find tools that DECREASE it.

simplification of using a user interface to define your infrastructure - Nah, we want to move quickly, and using a user interface for any tool likely slows us down and increases our chances of human error. We want to use a CLI or API for our changes so it's quick and predictable.

elimination of security vulnerabilities in your application deployment workflow - while Terraform could help with the security of your workflow, it doesn't guarantee it since Terraform just deploys what you tell it. It's not checking for security requirements or vulnerabilities or anything like that


https://learn.hashicorp.com/tutorials/terraform/infrastructure-as-code

A. While Infrastructure as Code simplifies the process of defining and managing infrastructure configurations, it does not necessarily involve using a user interface. IaC typically involves writing code to describe infrastructure resources, which can be more efficient and scalable than using a graphical user interface.

B.

Increasing the time to market for application deployment is not a direct benefit of using Infrastructure as Code. IaC can actually reduce the time to market by enabling organizations to deploy infrastructure quickly for testing and production workloads.

C. Using Infrastructure as Code allows you to standardize your deployment workflow by defining infrastructure configurations in code. This helps ensure consistency and repeatability in your deployments, making it easier to manage and scale your infrastructure.

D. While using Infrastructure as Code can help improve the security of your application deployment workflow by enabling version control, automated testing, and consistent configurations, it does not automatically eliminate all security vulnerabilities. Security considerations should still be carefully addressed and implemented in conjunction with IaC practices.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need