Saturday 11 February 2023

5 Foundational Interview Questions on Terraform

                                         





    1.    Who is responsible for maintaining terraform providers?

Answers: Terraform providers is primarily maintained by HashiCorp Community.

 

2.    What are Terraform functions?

      Answers: 

a.      Configuration

b.      Resource Graph

c.      Provisioning

d.      State Management

e.      Planning

f.       Execution

 

3.    What is the desired state of the infrastructure, and how is it defined in the Terraform configuration file?

Answers: The desired state of the infrastructure refers to the desired end result of the configuration of the infrastructure.

 

4.    How does Terraform integrate with other tools, such as version control systems, CICD pipelines, and security tools, to provide a complete solution for infrastructure management?

         Answers: 

a.  Version control systems: Terraform configuration files can be stored in a version control system / within the configuration file such as Git as part of stack for infrastructure provisioning.

b.     Continuous Integration/Continuous Deployment (CI/CD) Pipelines: As part of the deployment process, terraform can be integrated into a CI/CD pipeline to automate the provisioning and management of infrastructure.

c.      Security tools: For security tools such as vulnerability scanners and compliance tools, terraform can be integrated to help ensure that the infrastructure is secure and compliant with industry-wide standards.

d.      Monitoring tools: Terraform can be integrated with monitoring and other logging tools such as CloudWatch, Prometheus and Logstash to monitor the state of the infrastructure and track changes within the environment.

 

5.    When do we use sentinel policies in Terraform?

        Answers: These are used to enforce specific rules and constraints on the                                         deployment and management of infrastructure.


Kindly look out for more hands-on on Terraform Modules and Workspaces.

 

No comments:

Post a Comment

5 INTERVIEW QUESTIONS HANDY FOR AWS SOLUTION ARCHITECH

1. How Do You patch Linux on premises? Identify the patches that need to be applied to your Linux system and this can be achieved with the u...