NEW
Font size
WorksheetsAWS DevOps Tech Quiz
Total questions: 40
Worksheet time: 30mins
Which AWS service provides a key management system that allows you to create and manage cryptographic keys for encrypting data across other AWS services?
AWS Certificate Manager
AWS Secrets Manager
AWS Key Management Service (KMS)
AWS CloudHSM
What is the primary purpose of a StatefulSet in Kubernetes?
To manage stateless applications
To run batch jobs to completion
To manage stateful applications with stable network identifiers and persistent storage
To ensure a Pod runs on every node in the cluster
In the context of Infrastructure as Code, what does the "immutable infrastructure" pattern emphasize?
Making in-place updates to existing servers
Replacing servers entirely rather than modifying them
Using configuration management tools for drift correction
Manually patching servers on a schedule
Which AWS compute service is designed specifically to run code in response to events without provisioning or managing servers?
Amazon EC2
AWS Lambda
Amazon ECS
AWS Fargate
What is the core function of an Amazon Machine Image (AMI)?
To provide block-level storage for an EC2 instance
To serve as a template that contains the software configuration for an instance
To define the network settings for a VPC
To store application logs
When configuring an Application Load Balancer (ALB), what component is used to define routing rules based on content, such as URL path or host header?
Target Group
Listener
Security Group
Listener Rule
In Git, which command allows you to reapply commits from one branch onto another, potentially rewriting commit history?
git merge
git rebase
git cherry-pick
git fetch
Which AWS service enables you to deploy, manage, and scale containerized applications using a choice of open-source container orchestration platforms?
Amazon ECS
Amazon EKS
AWS App Runner
AWS Elastic Beanstalk
What is the primary benefit of using Amazon RDS Proxy?
It automatically scales database storage.
It manages and pools database connections to improve scalability.
It provides a read-only copy of the database for analytics.
It encrypts all data at rest automatically.
Within Kubernetes, which object is responsible for declaring the desired state for Pod replicas, including the update strategy?
ReplicaSet
DaemonSet
Deployment
StatefulSet
For managing secrets in a Dockerized application, what is a secure method that avoids hardcoding credentials in the Dockerfile?
Using environment variables passed at runtime
Using Docker secrets with Docker Swarm
Using a configuration file mounted as a volume
All of the above
What does the term "Configuration Drift" refer to in DevOps?
The planned migration of configuration to a new system
The unintended divergence of a system's actual state from its defined, desired state
The automated synchronization of configuration files
The version control history of configuration changes
Which AWS networking feature allows resources in one VPC to communicate with resources in another VPC using private IP addresses?
Internet Gateway
NAT Gateway
VPC Peering
VPN Connection
What is the main purpose of a DaemonSet in Kubernetes?
To run a single Pod on a specific node
To ensure a copy of a Pod runs on all (or some) nodes in the cluster
To manage a set of identical, stateful Pods
To run a Pod until completion
Which AWS service provides a fully managed Apache Kafka service to build and run applications that use real-time streaming data?
Amazon Kinesis Data Streams
Amazon Managed Streaming for Apache Kafka (MSK)
Amazon Simple Queue Service (SQS)
Amazon EventBridge
In the context of CI/CD, what is a "build artifact"?
The source code repository
The output of a build process, such as a compiled binary or a Docker image
The test execution report
The deployment script
Which AWS service provides a registry for storing, managing, and deploying Docker container images?
Amazon S3
AWS CodeArtifact
Amazon Elastic Container Registry (ECR)
AWS Systems Manager
What is the primary difference between git merge and git rebase?
Merge creates a new commit, while rebase does not.
Rebase integrates changes by moving or replaying commits, while merge creates a merge commit.
Merge is used for branching, while rebase is used for tagging.
There is no functional difference.
To achieve high availability for an internet-facing web application, across which AWS infrastructure units should resources be distributed?
Different Edge Locations
Different Availability Zones within a Region
Different AWS Regions
Different VPCs
Which Kubernetes concept is used to define a set of access rules that control traffic flow between Pods?
Service
Ingress
NetworkPolicy
ConfigMap
Which AWS service provides a simple and scalable shared file storage solution for use with AWS Cloud services and on-premises resources?
Amazon EBS
Amazon EFS
Amazon FSx
Amazon S3
In a typical Git workflow, what does the command git stash do?
Permanently deletes uncommitted changes
Saves uncommitted changes locally to be reapplied later
Commits changes to a remote repository
Creates a new branch
Which tool is commonly used for defining and running multi-container Docker applications, often using a docker-compose.yml file?
Docker Swarm
Kubernetes
Docker Compose
Podman
What is the main purpose of an AWS Transit Gateway?
To connect a VPC to the internet
To simplify network architecture by connecting VPCs and on-premises networks through a central hub
To provide a dedicated network connection from an on-premises data center to AWS
To filter traffic at the subnet level
Which of the following is NOT a valid strategy for deploying a new version of an application in Kubernetes?
Rolling Update
Recreate
Blue/Green (managed externally)
In-place hot swap
Which AWS service provides managed MySQL and PostgreSQL-compatible relational databases with performance and scalability advantages?
Amazon RDS for MySQL
Amazon Aurora
Amazon DynamoDB
Amazon Redshift
What does the "Infrastructure as Code" practice aim to solve?
Manual, error-prone infrastructure provisioning and management
The high cost of cloud computing
A lack of programming skills in operations teams
Slow internet connectivity
In AWS IAM, what is an "inline policy"?
A managed policy created and maintained by AWS
A policy that is embedded directly into a single IAM user, group, or role
A JSON document that defines permissions
The default policy applied to all new users
Which component in a Jenkins Pipeline defines the series of stages and steps for the build, test, and deploy process?
Jenkinsfile
pipeline.yaml
build.xml
Jenkins config
Which AWS service is a fully managed service that makes it easy to set up, operate, and scale a relational database in the cloud?
Amazon DynamoDB
Amazon Redshift
Amazon RDS
Amazon ElastiCache
What is the purpose of a Pod Security Admission (PSA) or Pod Security Policy (PSP) in Kubernetes?
To define how Pods communicate with each other
To control security-sensitive aspects of the Pod specification
To automatically scale the number of Pods
To provide persistent storage to Pods
For cost optimization, which EC2 purchasing model provides the highest discount but can be interrupted with short notice?
On-Demand Instances
Reserved Instances
Spot Instances
Dedicated Hosts
Which file is used to define the desired state of a Kubernetes application, including Deployments, Services, and ConfigMaps?
Dockerfile
deployment.yaml (a Kubernetes manifest)
Jenkinsfile
terraform.tf
Which AWS service enables you to monitor and collect metrics, collect and monitor log files, and set alarms?
AWS CloudTrail
Amazon CloudWatch
AWS Config
AWS Trusted Advisor
In a Docker multi-stage build, what is the key advantage?
It allows running multiple containers from a single image.
It creates smaller final images by separating build-time and runtime dependencies.
It enables building images for multiple architectures simultaneously.
It speeds up the image push process to a registry.
Which AWS service provides a way to model and provision AWS and third-party resources using declarative configuration files?
AWS OpsWorks
AWS CloudFormation
AWS Elastic Beanstalk
AWS Systems Manager
What is the role of an Ingress Controller in Kubernetes?
It manages external access to services, typically HTTP/HTTPS.
It controls internal Pod-to-Pod communication.
It provides persistent storage for stateful applications.
It schedules Pods onto nodes.
Which AWS tool or service helps analyze and optimize AWS costs by providing recommendations for Reserved Instance purchases?
AWS Cost Explorer
AWS Budgets
AWS Pricing Calculator
AWS Compute Optimizer
In the context of version control, what is a "fast-forward merge"?
A merge that creates a merge commit regardless of history
A merge where the target branch's tip is ahead of the source branch, allowing the pointer to move forward linearly
A rebase operation
A merge that always results in a conflict
Which AWS service provides DDoS protection that is automatically enabled for all AWS customers at no additional cost?
AWS Shield Standard
AWS Shield Advanced
AWS WAF
Amazon GuardDuty
