
AWS and Terraform Quiz

Quiz
•
Other
•
12th Grade
•
Hard
Naveen Yadav
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your team is using Terraform to manage AWS resources. You run terraform apply to create an EC2 instance, but you realize the instance wasn't created. What is the most likely cause?
The EC2 instance type was incorrect in the Terraform script.
The terraform apply command needs to be run with -force flag.
The AWS provider in the Terraform configuration is incorrectly set up.
The instance was already running and Terraform couldn't detect it.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a CloudFormation template, you are creating an EC2 instance but the instance fails to launch. What is the first step in troubleshooting this issue?
Check the CloudFormation stack's error logs in the console.
Delete the stack and recreate it.
Ensure that the EC2 instance type is correct.
Restart the CloudFormation service.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are using Jenkins to automate deployment to AWS S3. The deployment fails because of access issues. What could be the issue?
The S3 bucket versioning is disabled.
Jenkins lacks the proper AWS credentials.
Jenkins is configured for the wrong AWS region.
The S3 bucket is configured to allow only public access.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are deploying a static website to AWS S3 using a CI/CD pipeline. After deployment, users report slow page loads. What should you do to improve this?
Switch to using EC2 instead of S3 for static website hosting.
Enable Amazon CloudFront to cache content closer to users.
Increase the number of EC2 instances.
Configure the S3 bucket for versioning.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are using Terraform to automate the provisioning of a VPC, but it fails. What would be the first thing to check?
The AWS CLI is not installed.
The IAM permissions associated with Terraform are not sufficient.
There is a network connectivity issue.
The terraform plan step was not executed before apply.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a CloudFormation template, you need to define a security group to allow HTTP access to an EC2 instance. Which configuration would you use?
Use a Type: SecurityGroup resource and configure Port: 443.
Use a Type: SecurityGroup resource and configure Port: 80.
Define an IAM role for the EC2 instance with HTTP access.
Define a Lambda function to handle incoming HTTP traffic.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a CI/CD pipeline configured in Jenkins to deploy code to an EC2 instance. The Jenkins job fails with an error related to security credentials. What is the likely cause?
Jenkins is missing a valid SSH key to access EC2.
EC2 has reached its maximum instance limit.
The Jenkins server is out of disk space.
The IAM role attached to the EC2 instance doesn't have the correct permissions.
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
Drugs and Alcohol

Quiz
•
9th - 12th Grade
35 questions
Hair Evidence Review

Quiz
•
12th Grade
45 questions
Weather

Quiz
•
9th - 12th Grade
42 questions
Programming

Quiz
•
9th - 12th Grade
40 questions
Active Directory Quiz

Quiz
•
12th Grade
44 questions
USHC 3

Quiz
•
11th Grade - University
40 questions
rAnDoM tRiViA

Quiz
•
9th - 12th Grade
40 questions
Mcfarland Usa

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade