s the first command you should enter to initialize
s the first command you should enter to initializ
s the first command you should enter to initia
terraform associate hashicorp tf associate from
te
École, étude et sujet
TERRAFORM
TERRAFORM
Vendeur
S'abonner
saraciousstuvia
Avis reçus
Aperçu du contenu
TERRAFORM ASSOCIATE (Hashicorp TF Associate (from Udemy course by Zeal Vora ) EXAM terraform ________" is th e first command you should enter to initialize your Terraform environment and download any necessary configuration/provider files. CORRRECT -
init "terraform ______" is the command you should run to view resources that will be generated from your vario us .tf files. It will also run a validation check on your code to ensure proper syntax. CORRRECT -plan "terraform ______" is the command you should run that will result in a confirmation prompt. This will actually spin up the resources defined in your .tf files. CORRRECT -
apply "terraform ______" is the command you should run to tear down your terraform managed resource(s). CORRRECT -destroy In the below code snippet, identify which is the resource and which is the block identifiers (i.e. res ource=_______ , block=_______) resource "aws_instance" "myec2" { ... } CORRRECT -resource=aws_instance , block=myec2 Terraform stores the current state of the infrastructure that is being created from .tf files in the ________ file This allows terra form to map real world resources to your current configuration. CORRRECT -.tfstate T/F: If your desired state differs from your current state (i.e. manual changes occurred outside of terraform), then using "terraform apply" will reset your configurati on settings (revert any manual changes) CORRRECT -T "terraform ______" fetches the latest configuration state of your resources (checks your current managed state vs real world infrastructure) CORRRECT -refresh T/F: terraform plan always makes te rraform check for mismatches with current vs. desired state CORRRECT -T "terraform ________" gives you information from your state file on your current configuration. CORRRECT -show T/F: If your desired state does not define/mention a property of your resources that is later modified (manually), terraform will NOT track any drift from those manual changes. CORRRECT -T T/F: Outputted attributes CANNOT be used as inputs to other re sources being created via terraform. CORRRECT -F (outputted resources can be used as inputs for other resources definitions -- make sure you specify attributes in your outputs or it will list the entire list of attributes as an output) You can use a _ _______.tf file to reference vars. Alternatively, you can use the ______ command line flag to override variables. CORRRECT -variables, -vars If no override value(s) are defined in the command line for variables, the _______ variable value(s) are used. If no default value is supplied for your variables, you will be ___________ by terraform to specify value(s). CORRRECT -default, prompted You can specify a file called "terraform.__________" to define variable assignments. The values assigned to vari ables in this file will _______________ the var values defined in the variables.tf file (including any defaults). CORRRECT -tfvars, override the ______ arg in a variable block will restrict the type of value that will be accepted as the value for the variable. CORRRECT -type The _______ parameter on resources can simplify configurations and allow you to scale resources by increasing a number (rather than defining the resources multiple times) CORRRECT -count In the resource blocks where count is set, an additional ______ _______ is available in expressions so you can modify the configuration of each instance. CORRRECT -
count object The count object has one attribute: the count._______ -- the distinct index number (starting with 0) corresp onding to this instance. CORRRECT -index Fill in the blanks to complete the bool expression: condition ? ____________ : __________ CORRRECT -true_value, false_value ________ values assigns a name to an expression, allowing it to be used multiple times within a module without repeating it. CORRRECT -local
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur saraciousstuvia. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €13,10. Vous n'êtes lié à rien après votre achat.