Search test library by skills or roles
⌘ K

Adaface Sample Terraform Questions

Here are some sample Terraform questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Dependencies and conditionals
Resources
Tags
Solve
Given the following Terraform code:
 image
What would be the value of the extra_security_group_id output when create_security_group is set to true, project_environment is set to "staging", and enable_additional_security_group is set to false?

Medium

Instance Security Group
AWS
Resources
Solve
Consider the following Terraform code:
 image
Which statement is true about this Terraform code?
            
            A. The code creates an EC2 instance and assigns an EIP to it within a VPC.
            B. The code creates an EC2 instance, but it is not associated with the specified security group.
            C. The code creates an EC2 instance and an EIP, but does not associate the EIP with the instance.
            D. The code creates a security group that allows SSH access to the EC2 instance from anywhere.
            E. The code creates an EC2 instance with the specified security group, but does not assign an EIP to it.

Easy

VPC Cidr Block
Solve
Consider the following Terraform 0.12 configuration snippet:
 image
How would you define the 'cidr_block' for ap-southeast-1 in the aws_vpc resource using a variable?
            A: var.vpc_cidrs[“ap-southeast-1”]
            B: var.vpc_cidrs.0
            C: vpc_cidrs[“ap-southeast-1”]
            D: var.vpc_cidrs[0]
🧐 Question🔧 Skill

Medium

Dependencies and conditionals
Resources
Tags
3 mins
Terraform
Solve

Medium

Instance Security Group
AWS
Resources
2 mins
Terraform
Solve

Easy

VPC Cidr Block
2 mins
Terraform
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Dependencies and conditionals
Resources
Tags
Terraform
Medium3 mins
Solve
Instance Security Group
AWS
Resources
Terraform
Medium2 mins
Solve
VPC Cidr Block
Terraform
Easy2 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
Chat with us
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️