Table of Contents
Introduction to DevOps Week 01 Quiz Answers
Practice Quiz 1 Answers
Q1. Select the statement that is an example of “Technology is the enabler of innovation.”
- Blockbuster used DVD technology to build an entertainment industry.
- Uber used GPS, electronic payments, and smartphones to develop a new business model.
- Netflix created, built, and sustained their company via DVD technology.
- Garmin continued making GPS navigators to beat their competitors as GPS became widely available.
Q2. John Allspaw delivered his “10+Deploys Per Day–Dev and Ops Cooperation at Flickr” presentation in 2009 at the _____.
- Etsy’s deploy to production meeting
- Velocity Conference
- DevOpsDays conference
- DevOps Enterprise Summit
Q3. Select the correct statement regarding DevOps.
- DevOps is primarily a combination of the Dev team and the Ops team into one team.
- DevOps is deploying monolithic applications 10 times per day.
- DevOps is a cultural change in which Dev and Ops work together.
- DevOps is primarily about automation by DevOps engineers.
Practice Quiz 2 Answers
Q1. Which of the following characterizes the Waterfall approach?
- Teams working together, aware of their impact on each other
- An iterative approach with tighter and tighter feedback loops
- Valuing individual and interactions over processes and tools
- Phases with entrance and exit criteria with no provision for change
Q2. Who attended the Agile Infrastructure “Birds of a Feather” meeting in 2008 and started DevOpsDays in 2009?
- Gene Kim
- Bridget Kromhout
- Jez Humble
- Patrick Debois
Q3. The book The DevOps Handbook focuses on _____.
- Companies that had adopted DevOps and what did and did not work
- A manufacturing plant that was about to fail
- Principles of rapid, incremental delivery
- An IT department that was having problems
Quiz: Overview of DevOps Answers
Q1. Which of these companies failed to innovate regarding their technology in the face of competition?
Q2. John Allspaw is noted for which of the following?
- Rapid deploys at Etsy
- Rapid deploys at Flickr
- Creating the DevOps Enterprise Summit
- Implementing Netflix streaming services
Q3. What is DevOps?
- DevOps is primarily using virtual machines whenever possible for the fastest deployment.
- DevOps is primarily a recognition that Dev and Ops must work together during the entire development life cycle.
- DevOps is primarily deploying ever larger monolithic applications that are all or nothing at deploy.
- DevOps is primarily adopting tools and procedures used by DevOps engineers for Dev and Ops.
Q4. DevOps has three dimensions. Which is considered the most important?
Q5. Which of these is an essential change that Dev and Ops must make to achieve success with DevOps?
- Deploy monolithic applications rapidly and continuously.
- Hire Ops engineers to automate.
- Use the right software tools.
- Stop working in silos and work together.
Q6. The essential characteristics of DevOps include _____.
- Automated pipelines, microservices, and containers
- Silos, virtual machines, and Service Oriented Architecture
- Waterfall, monoliths, and physical servers
- Language, values, and stories
Q7. When did DevOps begin?
- When Patrick Debois and Andrew Clay Shafer met at the “Birds of a Feather” meeting.
- When the first State of DevOps report was written.
- When the book, The Phoenix Project, was written.
- When the book, The DevOps Handbook, was written.
Q8. This book, published in 2016 by John Willis, Patrick Debois, Gene Kim, and Jez Humble, looked at companies that had adopted DevOps and what did and did not work.
- The Goal
- The Phoenix Project
- Continuous Delivery
- The DevOps Handbook
Q9. Which of the following describes Extreme Programming (XP), developed by Kent Beck?
- Every phase has entrance and exit criteria, with no provision for change.
- Valuing individuals and interactions over process and tools.
- Going around information technology (IT) to meet your IT needs.
- An iterative approach with tighter and tighter feedback loops.
Q10. Who was the DevOpsDays lead from 2015 to 2020?
- Nicole Forsgren
- Gene Kim
- Patrick Debois
- Bridgett Kromhout
Introduction to DevOps Week 02 Quiz Answers
Q1. Which of these is typical of traditional thinking?
- Rebuilding 100% of the code to get the 20% change you need
- Internal sourcing and sharing code
- Behavior driven development (BDD) and test driven development (TDD)
- Merging pull requests or rejecting a pull request if it does not match your standards
Q2. Which of these is part of minimum viable product (MVP)?
- The cheapest thing you can build
- Waterfall and physical servers
- Should I pivot or persevere?
- Failure that is punished
Q3. Which of the following is the likely result of an automated pipeline WITHOUT automated test cases?
- Overcoming vulnerabilities
- Coding faster, with confidence
- Experiencing failures less often
- Bugs pushed to production faster
Q4. Select the correct description of behavior-driven development (BDD).
- Uses a highly specific technical syntax
- Tools targeting a BDD approach increase the cost
- Describes the behavior of the system from the outside in
- Ensuring that each component is working correctly
Q5. Cloud-native architecture has to do with _____.
- coordinating with people outside your team to make changes
- leveraging microservices
- leveraging monolithic architecture
- services with a hidden state, maintained in one database
Q6. Which of these patterns has to do with monitoring for failure up to a certain limit or threshold?
- Circuit breaker patterns
- Monkey testing
- Retry patterns
- Bulkhead patterns
Quiz: Thinking DevOps
Q1. Which of these is associated with social coding, rather than traditional thinking?
- Putting all the work in a development branch
- Working in silos
- Sharing code
- Using private repositories
Q2. Select the correct statement regarding small batches.
- Working in small batches came from the Agile Manifesto.
- Working in small batches minimizes waste.
- Working in small batches takes more time than working in large batches.
- Working in small batches results in less feedback than in large batches.
Q3. Which of these is associated with the minimum viable product (MVP)?
- Additional features with bells and whistles
- Giving the customer exactly what they originally asked for
- An iterative process between developers and the customer
- Building in increments
Q4. What is the Red, Green, Refactor workflow?
- Writing code first (red), then writing a test for it (green)
- Writing a failing test case (red), then writing enough code to make the unit test pass (green)
- Ensuring that no one can call the code (red), then deciding how you want to call the code (green)
- Avoiding code failure (red) by writing the most refined, error-free code (green)
Q5. What is behavior driven development (BDD)?
- Ensuring that each feature performs a specific task
- Ensuring that each component is working correctly
- Focusing on the system as observed from the outside
- Testing the functions of the system to build it right
Q6. Select the statement that correctly describes Gherkin.
- Specific technical language for writing tests
- Exploring the problem domain and collaborating to produce a solution
- Thinking from the inside out
- A natural language syntax for defining acceptance criteria
Q7. Which of these is true of a monolith, rather than microservices?
- Each function would have its own database and keep track of its own state.
- Changing a customer table would require coordinating with people on other teams.
- Multiple instances are split out.
- Scaling is done independently.
Q7. Select the correct statement regarding stateless microservices.
- Stateless microservices are simply threads, not full processes.
- Stateless microservices are frequently and easily debugged and patched.
- Stateless microservices each maintain their own state in separate databases.
- Stateless microservices maintain a hidden state.
Q9. What is monkey testing?
- A test that monitors for failure up to a limit before it trips
- Deliberately killing services to see how other services are affected
- Avoiding failure at all costs
- A test that isolates failing services to limit the scope of failure
Q10. Select the correct statement regarding the bulkhead pattern.
- Bulkhead patterns monitor up to a limit and trip if they detect failure.
- Bulkhead patterns are used to deliberately kill services for testing.
- Bulkhead patterns isolate failing services to limit the scope of failure.
- Bulkhead patterns are designed to detect a problem and trip to avoid catastrophic failure.
Introduction to DevOps Week 03 Quiz Answers
Q1. What is Taylorism?
- When workers, not managers, determine how work is to be done
- When workers build individually crafted products
- Pioneering efforts at automated systems
- Applying science to management, leading to the factory assembly line
Q2. What is considered best practice in software engineering that is different from civil engineering?1 point
- It is a best practice in software engineering to complete a project and have the members of the team move on and hand off to another team.
- It is a best practice in software engineering to have multiple handoffs that lead to bottlenecks.
- It is a best practice in software engineering for the same team to build and maintain the product.
- It is a best practice in software engineering to finish one process before the next can begin.
Q3. Which of the following describes traditional operations instead of DevOps?
- Processes are re-engineered for high volume and rapid throughput of changes.
- Builds are repeatable, leveraging Infrastructure as Code.
- Deployment is automated to all environments.
- One-of-a-kind infrastructure is built once and maintained.
Q1. What is Infrastructure as Code?
- The practice of describing infrastructure in an executable textual format
- The practice of documenting the infrastructure
- The practice of performing software configuration manually
- The practice of building, running, testing, and maintaining environments indefinitely
Q2. What is Continuous Integration?
- The process of continuous building, testing, and integrating into the master branch
- Deploying to a testing or staging environment
- Rapidly and safely deploying code to a production-like environment
- Working in long-lived development branches
Q3. Select the statement that defines Continuous Delivery.
- Continuous building, testing, and integrating
- Pushing code to version control and automating building and testing
- Ensuring that code can be rapidly and safely deployed to production at any time
- Integrating code into a shared repository
Quiz: Working DevOps
Q1. How is DevOps different from Taylorism?
- Taylorism is about pushing decisions down to the workers.
- DevOps is about managers determining how work is to be done.
- DevOps facilitates a culture of teaming and collaboration.
- Taylorism is about building individually crafted products.
Q2. Select the correct statement regarding software engineering in a DevOps environment.
- When a project is complete, the members of the team move on to other projects.
- One process finishes before the next can begin.
- The behavior of the system remains the same over time.
- Team members feel ownership for the work.
Q3. Instead of the project model, a better way to create software is to do it like _____.
- Product development
- Building an office building
- Civil engineering
Q4. How does the operations team (Ops) typically view the development team (Dev)?
- Using cut and paste from runbooks
- Making frequent changes and lacking back-out plans and testing
- Being furthest from the code and not understanding the code
- Making all or nothing changes
Q5. Which of the following are required DevOps behaviors?
- Using manual fulfillment methods such as ticket queues
- Building and maintaining hand-crafted, unique servers
- Avoiding and preventing change and using alarms and escalations
- Breaking down silos, shared ownership, and collaboration
Q6. What is ephemeral or transient infrastructure?
- Infrastructure in a textual format
- Infrastructure that is built once and maintained
- Infrastructure that is created when needed, used, and discarded
- Infrastructure that is configured manually
Q7. Select the correct statement regarding Continuous Integration.
- Continuous Integration is continuously deploying to production.
- Continuous Integration is integrating long lists of features, all at once.
- Continuous Integration is building, testing, and integrating, which results in potentially deployable code.
- Continuous Integration is working in long-lived development branches with developers adding to the development branch.
Q8. Which of these is a benefit of Continuous Integration?
- Being able to merge untested code into the master branch
- Being able to write the test cases after you have built the interface
- Being able to check in large batches (weeks of work) at one time
- Being able to get faster reaction time to changes
Q9. What is Continuous Delivery?
- Building software without using cloud-based tools
- Building software so it can be released to production at any time
- Building software so it can be deployed into the actual production environment
- Building software by having people do repetitive tasks and using computers to solve problems
Q10. Which of the following are key principles of Continuous Delivery?
- Never roll back, one-size-fits-all deployment, and avoiding risk and changes
- Building in quality, working in small batches, and using actionable measurements
- Using feature flags, blue-green deploys, and canary testing
- Using automation to deploy to production and testing once it is integrated
Introduction to DevOps Week 04 Quiz Answers
Q1. Which statement illustrates Conway’s law?
- It is good practice to design systems according to the organization’s communication structure.
- It is good practice to have several teams building the same architecture.
- It is good practice to organize teams around what they are expected to produce.
- It is good practice to organize teams around technology.
Q2. When working DevOps, it is better to have teams organized around _____.
- front-end and back-end teams
- business domains
- three-tier architecture
Q3. Select the correct statement regarding organizing for DevOps.
- DevOps is a team that sits between Dev and Ops.
- DevOps is a subset of operations.
- DevOps is one team that primarily focuses on operations.
- Dev and Ops work with the same mindset, goals, and measures.
Q4. How do development and operations engineers work together in a DevOps environment?
- They embrace traditional methods for development and operations.
- They work together to create stability by not adding new features.
- They work together during the entire lifecycle, following Agile principles.
- They solve conflict by working in silos.
Q5. Select the statement that explains how bad behavior arises when you abstract people away from the consequences of their actions.
- When people work in silos they do not see or feel the effect of their poor work.
- All teams need quality assurance (QA) to catch their mistakes.
- Ticket queues make people behave more responsibly.
- Including developers in the on-call rotation leads to them behaving badly.
Q6. It is good practice to have developers _____.
- use ticket queues instead of raising problems with team members.
- be responsible for the consequences of their actions.
- save testing for the end of the process.
- give up control and let quality assurance (QA) ensure quality.
Q7. Select the correct statement regarding how to measure and reward behavior in a DevOps environment.
- To get better performance, reward individual performance.
- To get better code, measure how many lines of code are produced.
- To get people to be social, measure them on being social.
- To get better performance, compare one team member to another.
Q8. Which objective is measured in a DevOps environment?
- Mean time to failure
- Never let the server go down
- Mean time to recovery
- Focus on failure prevention
Q9. Select the correct statement regarding vanity metrics.
- An increase in the percentage of defects detected in testing is an example of a vanity metric.
- Mean time to recovery is an example of a vanity metric.
- An increase in revenue from a customer test group due to a new feature is an example of a vanity metric.
- The number of hits on a website is an example of a vanity metric.
Q10. Select the correct description of actionable metrics.
- The number of page views on a website is an example of an actionable metric.
- They lack cause and effect.
- They can be used to make decisions to get a desired outcome.
- They may look impressive, but they are not meaningful.
Q11. What did Nicole Forsgren develop for measuring teams?
- Individual performance measures
- Cultural questions
- How strong leaders lead to success
- Root causes of developer failure
Q12. Which of the following is NOT a statement used to describe team culture in DevOps?
- On my team, information is actively sought.
- On my team, responsibilities are shared.
- On my team, failures are punished.
- On my team, new ideas are welcome.
Quiz: Organizing for DevOps
Q1. Conway’s Law implies that an organization will produce a design whose structure reflects the organization’s _____ structure.
Q2. Select the correct statement regarding aligning teams with the business.
- Give the team a short-term mission.
- Empower teams by giving them end-to-end responsibility.
- Organize separate teams around the front end and the back end of development.
- Rotate people in and out of the team regularly.
Q3. Select the correct statement regarding organizing teams for DevOps.
- Having a DevOps team is an antipattern and separates Dev and Ops.
- Forming an Agile team makes the organization Agile.
- DevOps is designed around silos that teams work within.
- Dev teams follow Agile principles, but Ops teams do not.
Q4. Select the person who wrote, in the book, Continuous Delivery, “Bad behavior arises when you abstract people away from the consequences of their actions.”
- Jez Humble
- Werner Vogels
- Elisabeth Hendricks
- Andrew Clay Shafer
Q5. How can you avoid the problem of actions without consequences resulting in bad behavior?
- Limit pager duty to developers.
- Limit on-call to Operations.
- Create cross-functional teams.
- Keep Dev and Ops teams separate.
Measuring DevOps Quiz Answers
Q1. What does “rewarding for “A” while hoping for “B” mean?
- Measuring lines of code will create quality code.
- People will seek to do the activities that are rewarded, so measure what matters.
- Ranking people against each other results in improved behavior.
- If you want people to be social, measure the number of company-sponsored social gatherings.
Q2. Which one of these is an effective DevOps objective?
- Mean time to failure
- Defect correction rate
- Server downtime
- Mean time to recovery
Q3. Select the correct statement regarding vanity metrics.
- Vanity metrics are good for taking action.
- Vanity metrics look impressive but are not meaningful or actionable.
- Reducing the time to market is an example of a vanity metric.
- Vanity metrics are valuable to customers.
Q4. Which one of the following describes the mean time to recovery?
- How long it takes to recover from failure?
- How long it takes for a new feature to fail?
- How often do new releases fail?
- Introducing new features when the product fails to be available to customers.
Q5. Which of the following is NOT consistent with, “Failures are learning opportunities?”
- Foster a culture of experimentation.
- Messengers are not punished.
- It is the system that fails, not the person.
- Punishment for failures.