Unit 1 - Practice Quiz

INT331

1 What is the primary goal of DevOps?

A. To separate Development and Operations into distinct silos
B. To shorten the systems development life cycle while delivering features, fixes, and updates frequently
C. To replace all human operators with automation scripts
D. To increase the complexity of software deployment

2 Which acronym is commonly used to describe the core values of DevOps?

A. ACID (Atomicity, Consistency, Isolation, Durability)
B. SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation, Dependency inversion)
C. CAMS (Culture, Automation, Measurement, Sharing)
D. DRY (Don't Repeat Yourself)

3 In the context of the DevOps lifecycle, what does CI stand for?

A. Continuous Improvement
B. Continuous Integration
C. Code Inspection
D. Customer Interaction

4 Which symbol is typically associated with the DevOps lifecycle?

A. A pyramid
B. A straight line
C. An infinity loop ()
D. A pie chart

5 Which of the following is NOT a benefit of implementing DevOps?

A. Faster time to market
B. Increased deployment frequency
C. Creation of rigid silos between teams
D. Lower failure rate of new releases

6 What is the 'Wall of Confusion' in the context of Development and Operations?

A. A firewall setting that blocks traffic
B. The physical barrier between the two departments
C. The conflict and lack of communication arising from conflicting goals (Change vs. Stability)
D. A complex piece of code that no one understands

7 Which phase of the DevOps lifecycle involves managing the software after it has been deployed to production?

A. Plan
B. Build
C. Monitor
D. Code

8 What is a Microservice architecture?

A. A single, large codebase that contains all application logic
B. An architectural style that structures an application as a collection of loosely coupled services
C. A database management technique
D. A front-end framework for mobile apps

9 How do Containers differ from Virtual Machines (VMs)?

A. Containers require a full Guest OS, while VMs do not
B. Containers share the host OS kernel, while VMs include a full Guest OS
C. Containers cannot run on Linux
D. VMs are more lightweight than containers

10 Which tool is the industry standard for Containerization?

A. Jenkins
B. Docker
C. Git
D. Nagios

11 What is the primary function of a Version Control System (VCS)?

A. To compil source code into binaries
B. To manage changes to source code over time
C. To automate the testing of software
D. To monitor server health

12 Which of the following is a Distributed Version Control System?

A. Subversion (SVN)
B. Git
C. CVS
D. Perforce

13 In DevOps, what does Shift Left refer to?

A. Moving the mouse to the left screen
B. Moving testing and security checks earlier in the development lifecycle
C. Assigning more work to the Operations team
D. Delaying deployment until the end of the sprint

14 What is Infrastructure as Code (IaC)?

A. Writing documentation for physical servers
B. Managing and provisioning infrastructure through machine-readable definition files
C. The physical cables connecting servers
D. Coding the operating system kernel

15 Which tool is commonly used for Continuous Integration (CI) pipelines?

A. Jenkins
B. Word
C. Photoshop
D. Excel

16 What does the metric MTTR stand for?

A. Mean Time To Repair (or Recovery)
B. Maximum Time To Release
C. Minimum Technical Testing Requirement
D. Manage The Technical Resources

17 Which of the following is a technical challenge in adopting DevOps?

A. Legacy infrastructure and monolithic applications
B. Too much collaboration between teams
C. Excessive automation capabilities
D. Having version control

18 What is the purpose of Kubernetes?

A. Source Code Management
B. Container Orchestration
C. Graphic Design
D. Spreadsheet Calculation

19 In a DevOps culture, what is a Blameless Post-Mortem?

A. Firing the person responsible for a bug
B. Ignoring errors and moving on
C. Analyzing an incident to identify the root cause without punishing individuals
D. A meeting held before a project starts

20 Which command in Git is used to save changes to the local repository?

A. git pull
B. git commit
C. git clone
D. git init

21 What is the relationship between DevOps and Agile?

A. They are opposites and cannot work together
B. DevOps is an extension of Agile that includes Operations
C. Agile is for hardware, DevOps is for software
D. DevOps replaces Agile completely

22 Which tool is primarily used for Configuration Management?

A. Ansible
B. Slack
C. MySQL
D. Apache

23 What is Continuous Deployment?

A. Merging code to the main branch
B. Automatically deploying every change that passes all stages of the production pipeline to customers
C. Manually copying files to a server once a year
D. Running unit tests locally

24 What is a Monolithic Application?

A. An application built with microservices
B. A software application where different components are combined into a single program from a single platform
C. An application that runs only on one computer
D. A mobile-only application

25 Why is Automation critical in DevOps?

A. To increase the number of manual errors
B. To slow down the deployment process
C. To ensure consistency, reliability, and speed in repetitive tasks
D. To make developers lose their jobs

26 What is the Staging Area in Git?

A. The production server
B. A file in the .git directory that stores information about what will go into your next commit
C. The recycle bin
D. A place where developers act out plays

27 Which phase comes immediately after Code in the DevOps lifecycle?

A. Monitor
B. Build
C. Operate
D. Plan

28 What is the main benefit of Feedback Loops in DevOps?

A. To create echo in audio systems
B. To enable rapid detection and correction of issues
C. To increase the file size of logs
D. To duplicate data

29 Which tool is commonly used for Monitoring and Visualization?

A. Prometheus and Grafana
B. Notepad++
C. VLC Media Player
D. WinRAR

30 What implies the 'You Build It, You Run It' philosophy?

A. Developers are responsible for the code in production, not just writing it
B. Operations teams write all the code
C. Managers are responsible for coding
D. Testers run the company

31 What is GitLab primarily known for?

A. A web-based DevOps lifecycle tool that provides a Git-repository manager
B. An operating system
C. A programming language
D. A hardware component

32 Which of the following is a benefit of Microservices regarding technology stack?

A. You are forced to use one language for everything
B. Each service can be written in a different programming language or framework suited for the task
C. You cannot use databases
D. You must use assembly language

33 What is DevSecOps?

A. Development, Security, and Operations
B. Device Security Operations
C. Development Sector Options
D. A new programming language

34 What is a Merge Conflict in VCS?

A. When two developers fight physically
B. When the computer crashes during a merge
C. When two branches have competing changes to the same line of a file and Git cannot resolve it automatically
D. When a file is deleted accidentally

35 What does Deployment Frequency measure?

A. How often code is successfully deployed to production
B. How fast the internet connection is
C. How many bugs are found
D. How many developers are hired

36 Which testing tool is widely used for web application test automation?

A. Selenium
B. Photoshop
C. Blender
D. Audacity

37 What is the primary characteristic of Immutable Infrastructure?

A. Servers are modified and patched in place
B. Servers are never modified after deployment; they are replaced with new instances
C. Infrastructure that costs no money
D. Infrastructure that cannot be deleted

38 What is a Repository in Git?

A. A data structure to store project files and the history of changes
B. A command line interface
C. A type of computer virus
D. A programming function

39 Which of the following is a Cultural challenge in DevOps?

A. Resistance to change from employees
B. Lack of RAM in servers
C. Slow internet speed
D. Incompatible file formats

40 What does the term 'Orchestration' refer to in the context of containers?

A. Composing music for the team
B. Managing the lifecycles of containers, including provisioning, deployment, and scaling
C. Drawing container icons
D. Installing the operating system

41 What is the role of a Build Tool like Maven or Gradle?

A. To write the code
B. To automate the creation of executable applications from source code
C. To design the user interface
D. To manage the database

42 Which is a characteristic of a High-Performing DevOps team?

A. High change failure rate
B. Low deployment frequency
C. Short lead time for changes
D. Long time to restore service

43 What is Puppet?

A. A toy used in team building
B. A configuration management tool
C. A version control system
D. A container engine

44 In the context of Microservices, what is Decoupling?

A. Connecting two services tightly
B. Ensuring that changes in one service do not require changes in other services
C. Removing the internet connection
D. Deleting code comments

45 What is the concept of 'Configuration Drift'?

A. Moving servers from one room to another
B. When the actual configuration of a server diverges from the desired or documented configuration over time
C. Drifting cars in a video game
D. Changing the font size in the IDE

46 Which of the following describes Continuous Delivery?

A. Deploying to production automatically without manual approval
B. Ensuring code is always in a deployable state, but deploying to production requires a manual approval
C. Delivering hardware to the office continuously
D. Writing code continuously without sleeping

47 What is GitHub?

A. A cloud-based hosting service for Git repositories
B. The same thing as Git
C. A programming language
D. A database engine

48 Why are Containers considered portable?

A. They fit in a pocket USB drive
B. They package the application and all its dependencies (libs, bins) together
C. They are very small in file size
D. They only run on Windows

49 What is the result of successful DevOps implementation on software quality?

A. Quality decreases due to speed
B. Quality remains the same
C. Quality improves due to automated testing and smaller, frequent releases
D. Quality is irrelevant in DevOps

50 Which DevOps principle focuses on making work visible?

A. Secrecy
B. Transparency/Sharing
C. Encryption
D. Siloing