WorksheetsDevOps Technical Exam
Total questions: 100
Worksheet time: 57mins
Which phase in the SDLC is primarily focused on gathering and documenting requirements?
Design
Implementation
Requirements Analysis
Maintenance
What is the main advantage of using pipeline deployment patterns in a multi-account environment?
Reduced storage costs
Improved code quality
Enhanced security and isolation
Faster deployment times
Which AWS service can be used to configure and store code repositories?
AWS CodeCommit
AWS CodePipeline
AWS CloudFormation
AWS CodeDeploy
How can version control be integrated with application environments to automate deployments?
By manually copying code files
By using AWS CloudFormation templates
By creating triggers for code changes
By setting up IAM roles
Which service would you use to manage build and deployment secrets?
AWS CodeBuild
AWS CodePipeline
AWS Secrets Manager
AWS CloudTrail
What deployment strategy involves deploying the new version alongside the old version and gradually shifting traffic to the new version?
Rolling deployment
Canary deployment
Blue/green deployment
All-at-once deployment
Which type of test is typically run first in a CI/CD pipeline?
Integration test
Acceptance test
Unit test
User interface test
At what stage of the CI/CD pipeline is a security scan most appropriately performed?
After unit tests
Before code commits
After deployment
During the build process
Which AWS service can be used to run builds or tests when generating pull requests or code merges?
AWS CodeBuild
AWS CodePipeline
AWS CodeDeploy
AWS CodeCommit
What is the purpose of running load/stress tests in a CI/CD pipeline?
To check code syntax errors
To measure performance and identify bottlenecks
To verify user interface consistency
To automate code coverage
How can application health be measured in an automated testing pipeline?
By checking log files manually
By measuring application exit codes
By using AWS CloudFormation
By using IAM policies
Which service can be invoked in a pipeline for testing serverless applications?
AWS CloudFormation
AWS Lambda
AWS CodeDeploy
AWS CloudWatch
What is a common use case for artifact management in a CI/CD pipeline?
Monitoring application health
Storing versioned builds for deployment
Setting up build processes
Configuring IAM roles
Which of the following is important to consider when managing the lifecycle of an artifact?
Deployment frequency
Storage costs
Security and access control
Application health metrics
Which AWS service can be used to create and configure artifact repositories?
AWS CodeArtifact
AWS CloudFormation
AWS Lambda
AWS CodeBuild
How can Amazon S3 be used in the context of managing build artifacts?
For configuring IAM roles
For setting up build processes
For storing and retrieving artifacts
For running application tests
Which AWS service is suitable for automating EC2 instance and container image build processes?
AWS CloudFormation
AWS CodeDeploy
EC2 Image Builder
AWS CodePipeline
Which deployment methodology is most appropriate for reducing downtime during updates in a serverless environment?
All-at-once deployment
Rolling deployment
Blue/green deployment
Immutable deployment
What is a key benefit of using mutable deployment patterns?
Enhanced security
Simplified rollback process
Reduced resource usage
Easier state management
Which AWS service provides the necessary tools for distributing code across multiple instances?
AWS CodeArtifact
AWS CodeDeploy
AWS CloudFormation
AWS CodeCommit
How can IAM roles be configured to allow access to artifact repositories?
By using AWS CloudTrail
By setting up build processes
By creating IAM policies with appropriate permissions
By using AWS CloudFormation templates
Which deployment method minimizes risk by gradually releasing changes to a small subset of users before a full rollout?
All-at-once deployment
Rolling deployment
Blue/green deployment
Canary deployment
Which tool would you use to troubleshoot deployment issues in a CI/CD pipeline?
AWS CloudFormation
AWS CloudWatch Logs
AWS CodePipeline
AWS CodeArtifact
Which AWS service provides recommendations for optimizing the cost of your EC2 instances by identifying underutilized instances?
AWS Pricing Calculator
AWS Cost Explorer
AWS Trusted Advisor
AWS Compute Optimizer
What is the purpose of using AWS Budgets?
To create and manage Reserved Instances
To estimate the cost of your architecture
To set custom cost and usage budgets and receive alerts when you exceed them
To monitor S3 storage usage
Which AWS tool allows you to visualize your cost and usage patterns over time and explore them at a high level?
AWS Cost Explorer
AWS Pricing Calculator
AWS Trusted Advisor
AWS Service Catalog
Which AWS purchasing option offers the most significant discount in exchange for a one- or three-year commitment to use a specific instance type?
On-Demand Instances
Spot Instances
Reserved Instances
Savings Plans
What AWS service helps you understand and manage your S3 storage usage and optimize storage costs?
AWS Cost Explorer
AWS Trusted Advisor
Amazon S3 Storage Lens
AWS Budgets
Which deployment strategy involves deploying the new version alongside the old version and gradually shifting traffic to the new version?
Blue/Green Deployment
Rolling Deployment
Canary Deployment
Immutable Deployment
What is the main advantage of using a Blue/Green deployment strategy?
It allows for zero-downtime deployments.
It requires fewer resources than other deployment strategies.
It is the fastest method for deploying new code.
It is the easiest method to implement.
Which AWS service can be used to automate container deployments to Amazon Elastic Container Service (ECS)?
AWS Lambda
AWS CodePipeline
AWS CodeDeploy
AWS CloudFormation
Which deployment pattern is characterized by maintaining two separate environments: one active and one idle?
Rolling Deployment
Blue/Green Deployment
Immutable Deployment
A/B Testing
Which AWS service allows you to build, test, and deploy serverless applications using a continuous delivery service?
AWS CodePipeline
AWS CodeDeploy
AWS CodeStar
AWS SAM
What is a primary benefit of using Amazon RDS for database management?
Complete control over the operating system
Automated backups and patching
Requires no monitoring
Inherent data encryption at rest
Which AWS service can be used to manage database performance and scalability for Amazon RDS?
AWS CloudFormation
AWS Lambda
Amazon Aurora Auto Scaling
AWS CodeDeploy
Which deployment method would you use to minimize downtime when upgrading an Amazon RDS instance?
Blue/Green Deployment
In-place upgrade
Snapshot and restore
Multi-AZ deployment
What feature of Amazon RDS allows for automatic failover in case of a primary database instance failure?
Amazon RDS Proxy
Multi-AZ deployments
Read replicas
Amazon CloudWatch alarms
Which Amazon RDS feature can be used to improve read scalability?
Multi-AZ deployments
Read replicas
Automated backups
Enhanced Monitoring
Which Amazon RDS feature allows for point-in-time recovery?
Automated backups
Manual snapshots
Read replicas
Multi-AZ deployments
What is the primary purpose of using Amazon RDS automated backups?
To scale read operations
To perform regular database maintenance
To enable point-in-time recovery
To improve database performance
How long can Amazon RDS retain automated backups by default?
7 days
35 days
90 days
365 days
Which AWS service can be used to automatically manage the lifecycle of Amazon RDS snapshots?
AWS Backup
AWS CloudFormation
AWS Lambda
AWS Config
When restoring a database from a snapshot, which of the following is true?
The restored instance must be of the same instance type as the original.
The restored instance will be in the same VPC as the original.
The restored instance can be in a different AWS Region.
The restored instance cannot be modified.
Which Amazon RDS feature allows for point-in-time recovery?
Automated backups
Manual snapshots
Read replicas
Multi-AZ deployments
Which AWS service is specifically designed for load balancing HTTP and HTTPS traffic?
Network Load Balancer (NLB)
Elastic Load Balancing (ELB)
Application Load Balancer (ALB)
Classic Load Balancer (CLB)
What is a primary benefit of using a Network Load Balancer (NLB) in AWS?
Handling HTTP/HTTPS traffic
Support for WebSocket and HTTP/2
Low latency and high throughput for TCP and UDP traffic
Automatic SSL certificate management
Which load balancing strategy allows you to route traffic to different targets based on URL paths?
Round Robin
IP Hash
Path-based routing
Least Connections
When setting up an Application Load Balancer (ALB), which feature would you use to ensure traffic is routed to the healthiest targets?
Path-based routing
Host-based routing
Target health checks
SSL termination
Which AWS service would you use to distribute incoming traffic across multiple AWS regions for better disaster recovery and high availability?
Elastic Load Balancing (ELB)
Amazon Route 53
AWS Global Accelerator
Amazon CloudFront
Which AWS service is typically used to manage the relational database for a WordPress site?
Amazon S3
Amazon RDS
Amazon DynamoDB
Amazon Redshift
When deploying WordPress on AWS, which service would you use for load balancing HTTP/HTTPS traffic?
Amazon Route 53
AWS Elastic Beanstalk
AWS CloudFront
Application Load Balancer (ALB)
What is the recommended way to store WordPress media files to optimize performance and scalability?
Amazon EBS
Amazon S3
Amazon RDS
Amazon DynamoDB
Which AWS service would you use to automate the deployment of WordPress updates across multiple instances?
AWS CodePipeline
AWS CodeDeploy
AWS OpsWorks
AWS CloudFormation
How can you ensure high availability for a WordPress site deployed on EC2 instances?
Use a single large instance
Deploy instances in a single Availability Zone
Deploy instances across multiple Availability Zones
Use a local database on each instance
Which AWS service would you use to run containers for a WordPress site?
AWS Lambda
Amazon ECS
AWS CloudFormation
Amazon RDS
To manage the deployment of containers in a highly available manner, which AWS service should be used in conjunction with Amazon ECS?
AWS CodePipeline
AWS CloudFront
AWS Fargate
AWS Load Balancer
When deploying a WordPress site in a containerized environment, which service can provide persistent storage for the WordPress database?
Amazon S3
Amazon EFS
Amazon RDS
AWS Lambda
Which tool can be used to define and manage container clusters in AWS?
AWS CloudFormation
Amazon ECS
Amazon EKS
AWS CodeDeploy
What is the primary benefit of using AWS Fargate with Amazon ECS for deploying WordPress containers?
Cost reduction
Simplified infrastructure management
Enhanced security
Improved database performance
Which command is used to build a Docker image from a Dockerfile?
docker run
docker build
docker create
docker compile
In Docker, what does the -d option do when running a container?
Deletes the container after it stops
Runs the container in detached mode
Downloads the latest image
Displays the logs of the container
Which file is used to define multi-container Docker applications?
Dockerfile
docker-compose.yml
Dockerhub.yaml
Dockermulti.yml
How do you scale the number of running containers using Docker Compose?
docker-compose up --scale
docker-compose scale
docker-compose replicate
docker-compose extend
Which Docker command is used to list all running containers?
docker ps
docker ls
docker list
docker containers
Which Git command is used to create a new branch?
git branch
git checkout
git merge
git clone
How do you stage files for a commit in Git?
git add
git commit
git push
git status
Which command merges a branch into the current branch in Git?
git merge
git rebase
git pull
git push
How do you view the commit history in Git?
git status
git log
git diff
git show
What is the purpose of git clone?
To create a new branch
To copy a repository from a remote server
To merge branches
To delete a repository
Which AWS service provides continuous monitoring and auditing of your AWS resources to help ensure compliance with security policies?
AWS CloudWatch
AWS CloudTrail
AWS Config
AWS GuardDuty
What is the primary purpose of using a bastion host in a VPC?
To serve web pages to the internet
To provide a secure way to SSH into instances in private subnets
To store backup files
To manage database connections
Which security measure can prevent Distributed Denial of Service (DDoS) attacks on your AWS infrastructure?
AWS Shield
AWS Macie
AWS Trusted Advisor
AWS Inspector
Which service can you use to enforce encryption of all data at rest in S3 buckets?
AWS CloudHSM
AWS KMS
AWS Inspector
AWS Shield
What is the primary benefit of using Amazon Inspector for your instances?
It provides monitoring for compliance with security best practices
It generates detailed network traffic logs
It performs security assessments for vulnerabilities and deviations from best practices
It manages AWS resources programmatically
Which AWS service allows you to set custom cost and usage budgets and receive alerts when your usage exceeds those thresholds?
AWS Cost Explorer
AWS Budgets
AWS Trusted Advisor
AWS Pricing Calculator
What is the primary benefit of using Reserved Instances in AWS?
Improved performance
Lower costs compared to On-Demand instances
Increased scalability
Enhanced security
Which AWS service provides detailed insights into the cost and usage data of your AWS resources?
AWS Trusted Advisor
AWS CloudWatch
AWS Cost Explorer
AWS Config
How can AWS Compute Optimizer help in reducing costs?
By encrypting data at rest
By recommending optimal AWS resources for your workloads
By providing detailed billing reports
By automating resource provisioning
Which purchasing option allows you to purchase compute capacity with significant cost savings for workloads that can be interrupted?
On-Demand Instances
Reserved Instances
Savings Plans
Spot Instances
What is the primary benefit of using IAM roles instead of IAM users in CI/CD pipelines?
Easier to manage code repositories
Improved security through temporary credentials
Better performance in deployment
Reduced cost of AWS services
Explain how AWS Savings Plans can help reduce your AWS costs.
Describe the importance of developing an effective tagging strategy for cost management in AWS.
How can AWS Trusted Advisor help you optimize costs?
What is the role of AWS Cost Explorer in monitoring and controlling AWS costs?
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?
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?
Explain the concept of an immutable deployment pattern and its benefits.
Describe how AWS CodeDeploy can be used to implement a blue/green deployment strategy.
What are the key differences between a rolling deployment and a canary deployment?
How can AWS Lambda be used in a serverless deployment strategy?
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?
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.
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?
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.
You suspect that one of your EC2 instances has been compromised. Describe the steps you would take to investigate and remediate this situation.
Explain the concept of Savings Plans in AWS and how they differ from Reserved Instances.
Describe the steps you would take to implement a cost allocation tagging strategy in AWS.
How can you use AWS Cost Explorer to monitor and optimize costs?
Your organization is experiencing unexpectedly high AWS costs. Describe the steps you would take to investigate and reduce these costs.
You need to optimize the costs of your EC2 instances while maintaining performance and reliability. Describe the strategies you would employ.
