
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
35 questions
BMT I Unit 3.00 Challenges to Biomedical Research
Quiz
ā¢
9th - 12th Grade
41 questions
Architecture and Construction final
Quiz
ā¢
9th - 12th Grade
45 questions
Nombor
Quiz
ā¢
1st - 12th Grade
35 questions
Winter FY22
Quiz
ā¢
KG - Professional Dev...
40 questions
World Knowledge
Quiz
ā¢
12th Grade - University
40 questions
Dollars & Sense Fall Semester Review
Quiz
ā¢
9th - 12th Grade
35 questions
AP Psychology: Unit 0 Quiz
Quiz
ā¢
12th Grade
43 questions
Investment and Finance Quiz
Quiz
ā¢
9th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
ā¢
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
ā¢
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
ā¢
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
ā¢
3rd Grade
3 questions
Integrity and Your Health
Lesson
ā¢
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
ā¢
5th Grade
9 questions
FOREST Perception
Lesson
ā¢
KG
20 questions
Main Idea and Details
Quiz
ā¢
5th Grade
Discover more resources for Other
8 questions
Spartan Way - Classroom Responsible
Quiz
ā¢
9th - 12th Grade
22 questions
El Imperfecto
Quiz
ā¢
9th - 12th Grade
25 questions
Logos
Quiz
ā¢
12th Grade
20 questions
Grammar
Quiz
ā¢
9th - 12th Grade
18 questions
Mendelian Genetics
Quiz
ā¢
10th - 12th Grade
22 questions
Regular Preterite -AR-ER-IR-
Quiz
ā¢
12th Grade
20 questions
verbos reflexivos en espaƱol
Quiz
ā¢
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
ā¢
7th - 12th Grade