DevOps Professional Engineer Exam Questions And
Accurate Answers
Integration hell - Answer old style of software development had individual developers
checking out sections of code, changing them, and adding them back to repository.
Changes from one dev clashed with changes from another dev. When the code failed to
compile, it was hard to know where the problem was.
Continuous integration - Answer a process of automating regular code commits
followed by an automated build and test process designed to highlight integration
issues early
Continuous Deployment - Answer
Which tools/products support Continuous Integration? - Answer - products that offer a
customizeable workflow based process
- ex: Bamboo, Cruise Control, Jenkins, Go and Team City
Why is AWS particularly well-suited for CI? - Answer - no need to build
compilation/testing clusters in-house
- can leverage Spot pricing for these
Which AWS services are particularly useful for CI/CD? - Answer CodeDeploy,
CodePipeline, Elastic Beanstalk, Cloud Formation
How does a CD server interact with a CI server? - Answer CI server delivers a tested
software build payload to a CD server. The CD server automates the deployment into a
working QA, pre-production or production environment
, Single Target Deployment - Answer - new application version is installed on the single
target server
-mainly used for small development projects where legacy or non-HA infrastructure is
used
-little use outside of Wordpress
What is the disadvantage of Single Target Deployment? - Answer -brief downtime in
order to install new version
- no secondary servers, little/no testing
- only rollback option is old version
What is the advantage of Single Target Deployment - Answer - simple, few moving parts,
no deployment system needed
All-at-once deployment - Answer -deployments occur in a single stage
-destination is multiple target servers
req orchestration tooling for simultaneous deployment
-can use for non-critical applications w/ 5-10 targets
Cons of all-at-once deployment - Answer -no ability to test
- small deployment outages
- can only rollback to old version
minimum in-service deployment - Answer -keep a min (ex: 1 in each AZ) running old
version while you deploy to all the others
-health check the newly updated, once they pass, update the remaining servers
-couple moving parts, orchestration and health checks req
-allows for automated testing, no downtime
-faster, less stages than rolling deployment
Accurate Answers
Integration hell - Answer old style of software development had individual developers
checking out sections of code, changing them, and adding them back to repository.
Changes from one dev clashed with changes from another dev. When the code failed to
compile, it was hard to know where the problem was.
Continuous integration - Answer a process of automating regular code commits
followed by an automated build and test process designed to highlight integration
issues early
Continuous Deployment - Answer
Which tools/products support Continuous Integration? - Answer - products that offer a
customizeable workflow based process
- ex: Bamboo, Cruise Control, Jenkins, Go and Team City
Why is AWS particularly well-suited for CI? - Answer - no need to build
compilation/testing clusters in-house
- can leverage Spot pricing for these
Which AWS services are particularly useful for CI/CD? - Answer CodeDeploy,
CodePipeline, Elastic Beanstalk, Cloud Formation
How does a CD server interact with a CI server? - Answer CI server delivers a tested
software build payload to a CD server. The CD server automates the deployment into a
working QA, pre-production or production environment
, Single Target Deployment - Answer - new application version is installed on the single
target server
-mainly used for small development projects where legacy or non-HA infrastructure is
used
-little use outside of Wordpress
What is the disadvantage of Single Target Deployment? - Answer -brief downtime in
order to install new version
- no secondary servers, little/no testing
- only rollback option is old version
What is the advantage of Single Target Deployment - Answer - simple, few moving parts,
no deployment system needed
All-at-once deployment - Answer -deployments occur in a single stage
-destination is multiple target servers
req orchestration tooling for simultaneous deployment
-can use for non-critical applications w/ 5-10 targets
Cons of all-at-once deployment - Answer -no ability to test
- small deployment outages
- can only rollback to old version
minimum in-service deployment - Answer -keep a min (ex: 1 in each AZ) running old
version while you deploy to all the others
-health check the newly updated, once they pass, update the remaining servers
-couple moving parts, orchestration and health checks req
-allows for automated testing, no downtime
-faster, less stages than rolling deployment