
AWS and Terraform Quiz
Authored by Naveen Yadav
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
36 questions
Auténtico 2 Vocabulary Chapter 3B
Quiz
•
9th - 12th Grade
35 questions
Foods I Review Obj. 1.0
Quiz
•
10th - 12th Grade
35 questions
Bones of the Skull and Face
Quiz
•
10th - 12th Grade
40 questions
Warna
Quiz
•
1st - 12th Grade
36 questions
General Shop Safety Test
Quiz
•
9th - 12th Grade
35 questions
IGCSE Economics Glossary Terms - C
Quiz
•
9th - 12th Grade
35 questions
Music Interest Inventory & Getting to Know You
Quiz
•
5th - 12th Grade
39 questions
Volcano
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade