exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 1 question 19 discussion

Actual exam question from Microsoft's AZ-400
Question #: 19
Topic #: 1
[All AZ-400 Questions]

DRAG DROP -
You are preparing to deploy an Azure resource group via Terraform.
To achieve your goal, you have to install the necessary frameworks.
Which of the following are the frameworks you should use? Answer by dragging the correct options from the list to the answer area.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
You can use the combination of Terraform and Yeoman. Terraform is a tool for creating infrastructure on Azure. Yeoman makes it easy to create Terraform modules.
Terratest provides a collection of helper functions and patterns for common infrastructure testing tasks, like making HTTP requests and using SSH to access a specific virtual machine. The following list describes some of the major advantages of using Terratest:
✑ Convenient helpers to check infrastructure - This feature is useful when you want to verify your real infrastructure in the real environment.
✑ Organized folder structure - Your test cases are organized clearly and follow the standard Terraform module folder structure.
Test cases are written in Go - Many developers who use Terraform are Go developers. If you're a Go developer, you don't have to learn another programming
language to use Terratest.
✑ Extensible infrastructure - You can extend additional functions on top of Terratest, including Azure-specific features.
Reference:
https://docs.microsoft.com/en-us/azure/developer/terraform/create-base-template-using-yeoman https://docs.microsoft.com/en-us/azure/developer/terraform/test-modules-using-terratest

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
certstowinirl
Highly Voted 2 years, 9 months ago
Very odd question... To reach the goal you don't need any of these frameworks. To deploy a resource group you would just need Terraform and the AzureRM provider
upvoted 43 times
...
syu31svc
Highly Voted 2 years, 8 months ago
https://docs.microsoft.com/en-us/azure/developer/terraform/test-modules-using-terratest Yeoman and Terratest are correct
upvoted 12 times
...
ANACARRILLO
Most Recent 1 month ago
The correct answers are: Vault and Terratest Vault – Correct HashiCorp Vault is used to secure and manage sensitive data such as secrets, API keys, and credentials during deployments. It’s often used alongside Terraform to handle secrets securely. Terratest – Correct Terratest is a Go-based framework used for automated testing of Terraform code and infrastructure. It's not required for basic deployments, but it supports test automation for Terraform setups. Yeoman – Incorrect Yeoman is a scaffolding tool for web apps (e.g., Angular, React), not used with Terraform. Tiller – Incorrect Tiller is part of Helm v2 (a Kubernetes package manager), but not used for deploying Azure resources via Terraform. Also, Helm v3 removed the need for Tiller entirely.
upvoted 1 times
...
yana_b
7 months ago
IMHO it is Terratest and Yeoman t's important to implement quality assurance when you create Terraform modules. We looked at all the most popular testing infrastructures and chose Terratest to use for testing our Terraform modules -> https://learn.microsoft.com/en-us/azure/developer/terraform/test-modules-using-terratest Terraform is a tool for creating infrastructure on Azure. Yeoman makes it easy to create Terraform modules. -> https://learn.microsoft.com/en-us/azure/developer/terraform/create-base-template-using-yeoman Tiller is Helms server-side component which runs inside the cluster and is used to deploy applications. The default installer of Tiller on an RBAC enabled cluster includes the creation of a service account for Tiller to run as which has cluster-admin permissions. ß:
upvoted 2 times
...
MrAZ105
7 months ago
You just need AzureRM provider and terraform.. yeoman and terratest are just scafolding tools for creating necessary structure
upvoted 1 times
...
vsvaid
1 year, 4 months ago
Answer is correct. https://learn.microsoft.com/en-us/azure/developer/terraform/create-base-template-using-yeoman Terraform is a tool for creating infrastructure on Azure. Yeoman makes it easy to create Terraform modules.
upvoted 1 times
...
omerco61
1 year, 10 months ago
https://learn.microsoft.com/en-us/azure/developer/terraform/create-base-template-using-yeoman
upvoted 1 times
...
karrey
1 year, 11 months ago
Terratest Vault To deploy an Azure resource group via Terraform, you should use Terratest and Vault. Terratest is an open-source testing framework for testing infrastructure code, such as Terraform scripts, which helps you ensure that your infrastructure is correctly provisioned. Vault is a tool for managing secrets, such as API keys and credentials, that are needed during the deployment process. Using these two frameworks together will help you securely deploy and manage your Azure resource group using Terraform. #ChatGPT-4
upvoted 1 times
...
col2511kol
2 years ago
To deploy an Azure resource group via Terraform, you will need Terraform. This is the primary tool for defining, provisioning, and managing infrastructure as code. It supports multiple cloud providers, including Azure. None of the options provided are required to deploy an Azure resource group via Terraform.
upvoted 3 times
...
Fal991l
2 years, 1 month ago
None of the options provided in the selected text are necessary frameworks for deploying an Azure resource group via Terraform. To deploy an Azure resource group using Terraform, you need to have Terraform installed and configured 1. You also need to have an Azure subscription 1. Once you have these prerequisites, you can create Terraform configuration files using HCL syntax to specify the cloud provider (such as Azure) and the elements that make up your cloud infrastructure 1.
upvoted 2 times
...
omsingh
2 years, 1 month ago
yeoman, vault and terratest will be correct answer
upvoted 1 times
...
JeevanKumar
2 years, 9 months ago
Agree. Deployment doesn't require both of the framework. It just require Terraform and AzureRM provider blocks. They should elaborate requirement for both of the framework.
upvoted 4 times
...
Divyayuvi
2 years, 10 months ago
answer is correct.
upvoted 1 times
...
Anirbanfiem
2 years, 10 months ago
what will be the correct answer ?
upvoted 1 times
...
Lucario95
2 years, 11 months ago
I'll say Vault and Terratest just because they're HashiiCorp software...
upvoted 1 times
Training
2 years, 11 months ago
Terratest is not from Hashicorp. Vault is a different product than IAC. Its secrets mgmt solution from Hashicorp.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago