AWS DevOps Engineer - Basics Quiz
← Back to Quiz Home
This quiz covers fundamental DevOps concepts on AWS, including CI/CD services (CodePipeline, CodeBuild, CodeDeploy) and Infrastructure as Code (CloudFormation).
Which AWS service is primarily used to orchestrate and model different stages of your software release process?
CodePipeline acts as the "conductor" of your CI/CD workflow, managing the flow from source to build to deploy.
What is the primary function of AWS CodeBuild?
CodeBuild is a fully managed build service that scales continuously and processes multiple builds concurrently.
Which file defines the build instructions for AWS CodeBuild?
The buildspec.yml file contains the commands and settings used by CodeBuild to run your build.
Which file defines the deployment instructions for AWS CodeDeploy?
The appspec.yml file is used by CodeDeploy to determine what to install and which lifecycle hooks to run.
What does "Infrastructure as Code" (IaC) mean?
IaC allows you to automate infrastructure provisioning, ensuring consistency and version control.
Which AWS service allows you to define infrastructure using JSON or YAML templates?
CloudFormation provides a common language to describe and provision all the infrastructure resources in your cloud environment.
In CloudFormation, what is a "Stack"?
When you create a stack, AWS CloudFormation provisions all the resources described in your template.
Where should you securely store database passwords and API keys referenced in your pipeline?
Never hardcode secrets. Use managed services to inject them dynamically at runtime.
Which Source Control service is hosted by AWS?
CodeCommit is a secure, highly scalable, managed source control service that hosts private Git repositories.
What is a "Blue/Green Deployment"?
Blue/Green deployment reduces downtime and risk by running two environments in parallel and switching traffic.
Which service would you use to centralize logs from all your EC2 instances?
The CloudWatch agent can push logs from EC2 instances to CloudWatch Logs groups for centralized storage and analysis.
What is the purpose of the "Install" lifecycle event in CodeDeploy?
During the Install phase, the CodeDeploy agent copies the revision files from the temporary location to the final destination folder.
Which CodePipeline action type is used to add a step for manual verification before deploying to production?
A Manual Approval action pauses the pipeline execution until someone approves it via the console.
How can you trigger a Lambda function automatically when a file is uploaded to an S3 bucket?
S3 can publish events (like s3:ObjectCreated) to Lambda, allowing for event-driven workflows.
What is the main benefit of using Docker containers in a DevOps workflow?
Containers package code and dependencies together, ensuring that it runs the same on a laptop, testing server, and production.
Which service is a fully managed container orchestration service compatible with Kubernetes?
EKS manages the Kubernetes control plane for you, making it easier to run standard K8s clusters.
What is "Continuous Integration" (CI)?
CI focuses on finding integration bugs early by building and testing every commit.
Which CloudFormation section allows you to pass values into the template at runtime?
Parameters enable you to input custom values (like KeyPairName or InstanceType) when you create or update a stack.
What does the "Resources" section of a CloudFormation template contain?
The Resources section is the only required section and defines the actual components to be built.
Which tool allows you to treat your infrastructure as code using a familiar programming language (Python, TypeScript, Java)?
CDK allows you to define cloud resources using modern programming languages and synthesizes them into CloudFormation templates.
Quiz Progress
0 / 0 questions answered
(0% )
0 correct
Quiz Complete!
0%
Reset quiz
📚 Study Guides
📬 Weekly DevOps, Cloud & Gen AI quizzes & guides