Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DevOps Technical Exam

Total questions: 100

Worksheet time: 57mins

Name
Class
Date
1.

Which phase in the SDLC is primarily focused on gathering and documenting requirements?

a)

Design

b)

Implementation

c)

Requirements Analysis

d)

Maintenance

2.

What is the main advantage of using pipeline deployment patterns in a multi-account environment?

a)

Reduced storage costs

b)

Improved code quality

c)

Enhanced security and isolation

d)

Faster deployment times

3.

Which AWS service can be used to configure and store code repositories?

a)

AWS CodeCommit

b)

AWS CodePipeline

c)

AWS CloudFormation

d)

AWS CodeDeploy

4.

How can version control be integrated with application environments to automate deployments?

a)

By manually copying code files

b)

By using AWS CloudFormation templates

c)

By creating triggers for code changes

d)

By setting up IAM roles

5.

Which service would you use to manage build and deployment secrets?

a)

AWS CodeBuild

b)

AWS CodePipeline

c)

AWS Secrets Manager

d)

AWS CloudTrail

6.

What deployment strategy involves deploying the new version alongside the old version and gradually shifting traffic to the new version?

a)

Rolling deployment

b)

Canary deployment

c)

Blue/green deployment

d)

All-at-once deployment

7.

Which type of test is typically run first in a CI/CD pipeline?

a)

Integration test

b)

Acceptance test

c)

Unit test

d)

User interface test

8.

At what stage of the CI/CD pipeline is a security scan most appropriately performed?

a)

After unit tests

b)

Before code commits

c)

After deployment

d)

During the build process

9.

Which AWS service can be used to run builds or tests when generating pull requests or code merges?

a)

AWS CodeBuild

b)

AWS CodePipeline

c)

AWS CodeDeploy

d)

AWS CodeCommit

10.

What is the purpose of running load/stress tests in a CI/CD pipeline?

a)

To check code syntax errors

b)

To measure performance and identify bottlenecks

c)

To verify user interface consistency

d)

To automate code coverage

11.

How can application health be measured in an automated testing pipeline?

a)

By checking log files manually

b)

By measuring application exit codes

c)

By using AWS CloudFormation

d)

By using IAM policies

12.

Which service can be invoked in a pipeline for testing serverless applications?

a)

AWS CloudFormation

b)

AWS Lambda

c)

AWS CodeDeploy

d)

AWS CloudWatch

13.

What is a common use case for artifact management in a CI/CD pipeline?

a)

Monitoring application health

b)

Storing versioned builds for deployment

c)

Setting up build processes

d)

Configuring IAM roles

14.

Which of the following is important to consider when managing the lifecycle of an artifact?

a)

Deployment frequency

b)

Storage costs

c)

Security and access control

d)

Application health metrics

15.

Which AWS service can be used to create and configure artifact repositories?

a)

AWS CodeArtifact

b)

AWS CloudFormation

c)

AWS Lambda

d)

AWS CodeBuild

16.

How can Amazon S3 be used in the context of managing build artifacts?

a)

For configuring IAM roles

b)

For setting up build processes

c)

For storing and retrieving artifacts

d)

For running application tests

17.

Which AWS service is suitable for automating EC2 instance and container image build processes?

a)

AWS CloudFormation

b)

AWS CodeDeploy

c)

EC2 Image Builder

d)

AWS CodePipeline

18.

Which deployment methodology is most appropriate for reducing downtime during updates in a serverless environment?

a)

All-at-once deployment

b)

Rolling deployment

c)

Blue/green deployment

d)

Immutable deployment

19.

What is a key benefit of using mutable deployment patterns?

a)

Enhanced security

b)

Simplified rollback process

c)

Reduced resource usage

d)

Easier state management

20.

Which AWS service provides the necessary tools for distributing code across multiple instances?

a)

AWS CodeArtifact

b)

AWS CodeDeploy

c)

AWS CloudFormation

d)

AWS CodeCommit

21.

How can IAM roles be configured to allow access to artifact repositories?

a)

By using AWS CloudTrail

b)

By setting up build processes

c)

By creating IAM policies with appropriate permissions

d)

By using AWS CloudFormation templates

22.

Which deployment method minimizes risk by gradually releasing changes to a small subset of users before a full rollout?

a)

All-at-once deployment

b)

Rolling deployment

c)

Blue/green deployment

d)

Canary deployment

23.

Which tool would you use to troubleshoot deployment issues in a CI/CD pipeline?

a)

AWS CloudFormation

b)

AWS CloudWatch Logs

c)

AWS CodePipeline

d)

AWS CodeArtifact

24.

Which AWS service provides recommendations for optimizing the cost of your EC2 instances by identifying underutilized instances?

a)

AWS Pricing Calculator

b)

AWS Cost Explorer

c)

AWS Trusted Advisor

d)

AWS Compute Optimizer

25.

What is the purpose of using AWS Budgets?

a)

To create and manage Reserved Instances

b)

To estimate the cost of your architecture

c)

To set custom cost and usage budgets and receive alerts when you exceed them

d)

To monitor S3 storage usage

26.

Which AWS tool allows you to visualize your cost and usage patterns over time and explore them at a high level?

a)

AWS Cost Explorer

b)

AWS Pricing Calculator

c)

AWS Trusted Advisor

d)

AWS Service Catalog

27.

Which AWS purchasing option offers the most significant discount in exchange for a one- or three-year commitment to use a specific instance type?

a)

On-Demand Instances

b)

Spot Instances

c)

Reserved Instances

d)

Savings Plans

28.

What AWS service helps you understand and manage your S3 storage usage and optimize storage costs?

a)

AWS Cost Explorer

b)

AWS Trusted Advisor

c)

Amazon S3 Storage Lens

d)

AWS Budgets

29.

Which deployment strategy involves deploying the new version alongside the old version and gradually shifting traffic to the new version?

a)

Blue/Green Deployment

b)

Rolling Deployment

c)

Canary Deployment

d)

Immutable Deployment

30.

What is the main advantage of using a Blue/Green deployment strategy?

a)

It allows for zero-downtime deployments.

b)

It requires fewer resources than other deployment strategies.

c)

It is the fastest method for deploying new code.

d)

It is the easiest method to implement.

31.

Which AWS service can be used to automate container deployments to Amazon Elastic Container Service (ECS)?

a)

AWS Lambda

b)

AWS CodePipeline

c)

AWS CodeDeploy

d)

AWS CloudFormation

32.

Which deployment pattern is characterized by maintaining two separate environments: one active and one idle?

a)

Rolling Deployment

b)

Blue/Green Deployment

c)

Immutable Deployment

d)

A/B Testing

33.

Which AWS service allows you to build, test, and deploy serverless applications using a continuous delivery service?

a)

AWS CodePipeline

b)

AWS CodeDeploy

c)

AWS CodeStar

d)

AWS SAM

34.

What is a primary benefit of using Amazon RDS for database management?

a)

Complete control over the operating system

b)

Automated backups and patching

c)

Requires no monitoring

d)

Inherent data encryption at rest

35.

Which AWS service can be used to manage database performance and scalability for Amazon RDS?

a)

AWS CloudFormation

b)

AWS Lambda

c)

Amazon Aurora Auto Scaling

d)

AWS CodeDeploy

36.

Which deployment method would you use to minimize downtime when upgrading an Amazon RDS instance?

a)

Blue/Green Deployment

b)

In-place upgrade

c)

Snapshot and restore

d)

Multi-AZ deployment

37.

What feature of Amazon RDS allows for automatic failover in case of a primary database instance failure?

a)

Amazon RDS Proxy

b)

Multi-AZ deployments

c)

Read replicas

d)

Amazon CloudWatch alarms

38.

Which Amazon RDS feature can be used to improve read scalability?

a)

Multi-AZ deployments

b)

Read replicas

c)

Automated backups

d)

Enhanced Monitoring

39.

Which Amazon RDS feature allows for point-in-time recovery?

a)

Automated backups

b)

Manual snapshots

c)

Read replicas

d)

Multi-AZ deployments

40.

What is the primary purpose of using Amazon RDS automated backups?

a)

To scale read operations

b)

To perform regular database maintenance

c)

To enable point-in-time recovery

d)

To improve database performance

41.

How long can Amazon RDS retain automated backups by default?

a)

7 days

b)

35 days

c)

90 days

d)

365 days

42.

Which AWS service can be used to automatically manage the lifecycle of Amazon RDS snapshots?

a)

AWS Backup

b)

AWS CloudFormation

c)

AWS Lambda

d)

AWS Config

43.

When restoring a database from a snapshot, which of the following is true?

a)

The restored instance must be of the same instance type as the original.

b)

The restored instance will be in the same VPC as the original.

c)

The restored instance can be in a different AWS Region.

d)

The restored instance cannot be modified.

44.

Which Amazon RDS feature allows for point-in-time recovery?

a)

Automated backups

b)

Manual snapshots

c)

Read replicas

d)

Multi-AZ deployments

45.

Which AWS service is specifically designed for load balancing HTTP and HTTPS traffic?

a)

Network Load Balancer (NLB)

b)

Elastic Load Balancing (ELB)

c)

Application Load Balancer (ALB)

d)

Classic Load Balancer (CLB)

46.

What is a primary benefit of using a Network Load Balancer (NLB) in AWS?

a)

Handling HTTP/HTTPS traffic

b)

Support for WebSocket and HTTP/2

c)

Low latency and high throughput for TCP and UDP traffic

d)

Automatic SSL certificate management

47.

Which load balancing strategy allows you to route traffic to different targets based on URL paths?

a)

Round Robin

b)

IP Hash

c)

Path-based routing

d)

Least Connections

48.

When setting up an Application Load Balancer (ALB), which feature would you use to ensure traffic is routed to the healthiest targets?

a)

Path-based routing

b)

Host-based routing

c)

Target health checks

d)

SSL termination

49.

Which AWS service would you use to distribute incoming traffic across multiple AWS regions for better disaster recovery and high availability?

a)

Elastic Load Balancing (ELB)

b)

Amazon Route 53

c)

AWS Global Accelerator

d)

Amazon CloudFront

50.

Which AWS service is typically used to manage the relational database for a WordPress site?

a)

Amazon S3

b)

Amazon RDS

c)

Amazon DynamoDB

d)

Amazon Redshift

51.

When deploying WordPress on AWS, which service would you use for load balancing HTTP/HTTPS traffic?

a)

Amazon Route 53

b)

AWS Elastic Beanstalk

c)

AWS CloudFront

d)

Application Load Balancer (ALB)

52.

What is the recommended way to store WordPress media files to optimize performance and scalability?

a)

Amazon EBS

b)

Amazon S3

c)

Amazon RDS

d)

Amazon DynamoDB

53.

Which AWS service would you use to automate the deployment of WordPress updates across multiple instances?

a)

AWS CodePipeline

b)

AWS CodeDeploy

c)

AWS OpsWorks

d)

AWS CloudFormation

54.

How can you ensure high availability for a WordPress site deployed on EC2 instances?

a)

Use a single large instance

b)

Deploy instances in a single Availability Zone

c)

Deploy instances across multiple Availability Zones

d)

Use a local database on each instance

55.

Which AWS service would you use to run containers for a WordPress site?

a)

AWS Lambda

b)

Amazon ECS

c)

AWS CloudFormation

d)

Amazon RDS

56.

To manage the deployment of containers in a highly available manner, which AWS service should be used in conjunction with Amazon ECS?

a)

AWS CodePipeline

b)

AWS CloudFront

c)

AWS Fargate

d)

AWS Load Balancer

57.

When deploying a WordPress site in a containerized environment, which service can provide persistent storage for the WordPress database?

a)

Amazon S3

b)

Amazon EFS

c)

Amazon RDS

d)

AWS Lambda

58.

Which tool can be used to define and manage container clusters in AWS?

a)

AWS CloudFormation

b)

Amazon ECS

c)

Amazon EKS

d)

AWS CodeDeploy

59.

What is the primary benefit of using AWS Fargate with Amazon ECS for deploying WordPress containers?

a)

Cost reduction

b)

Simplified infrastructure management

c)

Enhanced security

d)

Improved database performance

60.

Which command is used to build a Docker image from a Dockerfile?

a)

docker run

b)

docker build

c)

docker create

d)

docker compile

61.

In Docker, what does the -d option do when running a container?

a)

Deletes the container after it stops

b)

Runs the container in detached mode

c)

Downloads the latest image

d)

Displays the logs of the container

62.

Which file is used to define multi-container Docker applications?

a)

Dockerfile

b)

docker-compose.yml

c)

Dockerhub.yaml

d)

Dockermulti.yml

63.

How do you scale the number of running containers using Docker Compose?

a)

docker-compose up --scale

b)

docker-compose scale

c)

docker-compose replicate

d)

docker-compose extend

64.

Which Docker command is used to list all running containers?

a)

docker ps

b)

docker ls

c)

docker list

d)

docker containers

65.

Which Git command is used to create a new branch?

a)

git branch

b)

git checkout

c)

git merge

d)

git clone

66.

How do you stage files for a commit in Git?

a)

git add

b)

git commit

c)

git push

d)

git status

67.

Which command merges a branch into the current branch in Git?

a)

git merge

b)

git rebase

c)

git pull

d)

git push

68.

How do you view the commit history in Git?

a)

git status

b)

git log

c)

git diff

d)

git show

69.

What is the purpose of git clone?

a)

To create a new branch

b)

To copy a repository from a remote server

c)

To merge branches

d)

To delete a repository

70.

Which AWS service provides continuous monitoring and auditing of your AWS resources to help ensure compliance with security policies?

a)

AWS CloudWatch

b)

AWS CloudTrail

c)

AWS Config

d)

AWS GuardDuty

71.

What is the primary purpose of using a bastion host in a VPC?

a)

To serve web pages to the internet

b)

To provide a secure way to SSH into instances in private subnets

c)

To store backup files

d)

To manage database connections

72.

Which security measure can prevent Distributed Denial of Service (DDoS) attacks on your AWS infrastructure?

a)

AWS Shield

b)

AWS Macie

c)

AWS Trusted Advisor

d)

AWS Inspector

73.

Which service can you use to enforce encryption of all data at rest in S3 buckets?

a)

AWS CloudHSM

b)

AWS KMS

c)

AWS Inspector

d)

AWS Shield

74.

What is the primary benefit of using Amazon Inspector for your instances?

a)

It provides monitoring for compliance with security best practices

b)

It generates detailed network traffic logs

c)

It performs security assessments for vulnerabilities and deviations from best practices

d)

It manages AWS resources programmatically

75.

Which AWS service allows you to set custom cost and usage budgets and receive alerts when your usage exceeds those thresholds?

a)

AWS Cost Explorer

b)

AWS Budgets

c)

AWS Trusted Advisor

d)

AWS Pricing Calculator

76.

What is the primary benefit of using Reserved Instances in AWS?

a)

Improved performance

b)

Lower costs compared to On-Demand instances

c)

Increased scalability

d)

Enhanced security

77.

Which AWS service provides detailed insights into the cost and usage data of your AWS resources?

a)

AWS Trusted Advisor

b)

AWS CloudWatch

c)

AWS Cost Explorer

d)

AWS Config

78.

How can AWS Compute Optimizer help in reducing costs?

a)

By encrypting data at rest

b)

By recommending optimal AWS resources for your workloads

c)

By providing detailed billing reports

d)

By automating resource provisioning

79.

Which purchasing option allows you to purchase compute capacity with significant cost savings for workloads that can be interrupted?

a)

On-Demand Instances

b)

Reserved Instances

c)

Savings Plans

d)

Spot Instances

80.

What is the primary benefit of using IAM roles instead of IAM users in CI/CD pipelines?

a)

Easier to manage code repositories

b)

Improved security through temporary credentials

c)

Better performance in deployment

d)

Reduced cost of AWS services

81.

Explain how AWS Savings Plans can help reduce your AWS costs.

4 lines
82.

Describe the importance of developing an effective tagging strategy for cost management in AWS.

4 lines
83.

How can AWS Trusted Advisor help you optimize costs?

4 lines
84.

What is the role of AWS Cost Explorer in monitoring and controlling AWS costs?

4 lines
85.

Your company has multiple AWS accounts for different departments. How would you use AWS tools to ensure that each department is accountable for its own AWS spending?

4 lines
86.

A development team in your organization frequently uses On-Demand Instances for testing but wants to reduce costs. What purchasing options would you recommend and why?

4 lines
87.

Explain the concept of an immutable deployment pattern and its benefits.

4 lines
88.

Describe how AWS CodeDeploy can be used to implement a blue/green deployment strategy.

4 lines
89.

What are the key differences between a rolling deployment and a canary deployment?

4 lines
90.

How can AWS Lambda be used in a serverless deployment strategy?

4 lines
91.

Your company wants to deploy a new version of a web application hosted on Amazon EC2 with zero downtime. Which deployment strategy would you recommend and how would you implement it?

4 lines
92.

You are managing a containerized application on Amazon ECS and need to deploy updates frequently without causing downtime. Describe the steps you would take to achieve this using a rolling deployment strategy.

4 lines
93.

A development team is deploying a serverless application using AWS Lambda. They want to minimize the impact of potential issues during deployment. Which deployment strategy should they use and how would it be implemented?

4 lines
94.

Your organization requires that all data stored on EC2 instances be encrypted at rest. Describe the steps you would take to achieve this using AWS services.

4 lines
95.

You suspect that one of your EC2 instances has been compromised. Describe the steps you would take to investigate and remediate this situation.

4 lines
96.

Explain the concept of Savings Plans in AWS and how they differ from Reserved Instances.

4 lines
97.

Describe the steps you would take to implement a cost allocation tagging strategy in AWS.

4 lines
98.

How can you use AWS Cost Explorer to monitor and optimize costs?

4 lines
99.

Your organization is experiencing unexpectedly high AWS costs. Describe the steps you would take to investigate and reduce these costs.

4 lines
100.

You need to optimize the costs of your EC2 instances while maintaining performance and reliability. Describe the strategies you would employ.

4 lines