AWS AWS DevOps and Developer Tools 1 β Questions and Answers
Question 1: Which AWS service provides a fully managed source control service that hosts Git repositories?
- AWS CodeCommit (Correct answer)
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodePipeline
Correct answer: AWS CodeCommit
AWS CodeCommit is a fully managed source control service that hosts private Git repositories in a secure, scalable manner.
Question 2: What is AWS CodePipeline used for?
- To automate the continuous delivery pipeline for building, testing, and deploying applications (Correct answer)
- To store application source code
- To monitor application performance
- To manage infrastructure as code
Correct answer: To automate the continuous delivery pipeline for building, testing, and deploying applications
AWS CodePipeline is a fully managed continuous delivery service that automates build, test, and release phases of application deployment.
Question 3: Which AWS service allows you to define your infrastructure as code using JSON or YAML templates?
- AWS CloudFormation (Correct answer)
- AWS OpsWorks
- AWS Elastic Beanstalk
- AWS Systems Manager
Correct answer: AWS CloudFormation
AWS CloudFormation lets you model, provision, and manage AWS resources using JSON or YAML templates for infrastructure as code.
Question 4: What is the purpose of AWS CodeBuild?
- To compile source code, run tests, and produce software packages ready for deployment (Correct answer)
- To deploy applications to EC2 instances
- To store build artifacts in S3
- To manage Git repositories
Correct answer: To compile source code, run tests, and produce software packages ready for deployment
AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces deployment-ready artifacts.
Question 5: Which AWS service provides monitoring and observability for applications and infrastructure?
- Amazon CloudWatch (Correct answer)
- AWS X-Ray
- AWS CloudTrail
- AWS Config
Correct answer: Amazon CloudWatch
Amazon CloudWatch collects and monitors metrics, logs, and events from AWS services and applications, enabling observability and automated responses.
Question 6: What is AWS CodeDeploy used for?
- To automate application deployments to EC2 instances, Lambda, or on-premises servers (Correct answer)
- To build and compile source code
- To store and version application code
- To manage deployment pipelines
Correct answer: To automate application deployments to EC2 instances, Lambda, or on-premises servers
AWS CodeDeploy is a fully managed deployment service that automates software deployments to various compute services including EC2 and Lambda.
Which AWS service provides a fully managed source control service that hosts Git repositories?