AWS and Terraform Quiz

AWS and Terraform Quiz

12th Grade

40 Qs

quiz-placeholder

Similar activities

ONE 6th FORM H446 General Knowledge

ONE 6th FORM H446 General Knowledge

12th Grade

35 Qs

Movie Emojis

Movie Emojis

6th - 12th Grade

40 Qs

ENCC 300-440

ENCC 300-440

12th Grade

38 Qs

Research Methods and Data Analysis

Research Methods and Data Analysis

9th - 12th Grade

38 Qs

Public Safety Intro and Concepts

Public Safety Intro and Concepts

9th - 12th Grade

43 Qs

Cloud Computing and Security Quiz

Cloud Computing and Security Quiz

12th Grade

35 Qs

Public Safety 1 Review 1

Public Safety 1 Review 1

12th Grade

39 Qs

AWS and Terraform Quiz

AWS and Terraform Quiz

Assessment

Quiz

Other

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?