Unit 5: DevOps Trends - Practice Quiz

INT331 — Fundamentals Of Devops 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which of the following best describes the DevSecOps trend?

A. Replacing the operations team with security engineers
B. Adding security checks only at the end of the development lifecycle
C. Separating the security team from the development and operations teams completely
D. Integrating security practices within the DevOps process from the start

2 In the context of DevOps market trends, what does the concept of 'NoOps' imply?

A. The total elimination of software developers
B. A strategy where no operational tools are used
C. An IT environment so automated that the underlying infrastructure is abstracted from developers
D. An environment where operations are completely manual

3 Which skill is NOT typically considered a core technical skill for a DevOps Engineer?

A. Proficiency in Scripting languages (Python/Bash)
B. Deep expertise in graphic design and UI/UX prototyping
C. Knowledge of CI/CD pipelines
D. Understanding of Containerization (Docker/Kubernetes)

4 What is the primary goal of the DevOps Delivery Pipeline?

A. To slow down development to ensure 100% bug-free code
B. To enable continuous delivery of value to the end user through automation
C. To strictly separate development and operations tasks
D. To increase the number of manual approval gates

5 In the DevOps ecosystem, which tool is primarily associated with Source Code Management (SCM)?

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

6 Which command is used in Git to download a repository from a remote source to your local machine for the first time?

A. git push
B. git commit
C. git fork
D. git clone

7 What is the function of git staging area (index)?

A. It permanently deletes files
B. It pushes code to the remote server
C. It is an intermediate area where commits can be formatted and reviewed before completing the commit
D. It stores the commit history

8 Which of the following is an XML file used by Maven to manage project dependencies and build configuration?

A. maven.yaml
B. pom.xml
C. package.json
D. build.xml

9 In Maven, what does the command mvn clean install do?

A. Cleans the project and installs the Maven software
B. Installs the application on a remote server
C. Removes the target directory, compiles, tests, packages, and installs the artifact into the local repository
D. Cleans the code syntax only

10 Which of the following best describes Jenkins?

A. A container orchestration platform
B. An open-source automation server used for Continuous Integration and Continuous Delivery
C. A virtualization hypervisor
D. A configuration management tool

11 In Jenkins, what is a 'Pipeline'?

A. A suite of plugins which supports implementing and integrating continuous delivery pipelines
B. A database for storing user credentials
C. The graphical user interface for administration
D. A physical cable connecting servers

12 Which file is typically used to define a Jenkins Pipeline as code?

A. Jenkinsfile
B. Pipeline.xml
C. Playbook.yaml
D. Dockerfile

13 What is the primary function of Selenium in the DevOps toolchain?

A. Infrastructure provisioning
B. Automated web browser testing
C. Container management
D. Log monitoring

14 Which component of Selenium is responsible for executing tests against different browsers?

A. Selenium IDE
B. Selenium Server
C. Selenium Grid
D. Selenium WebDriver

15 What is the core difference between a Virtual Machine (VM) and a Docker Container?

A. Containers share the host OS kernel and are lightweight; VMs include a full Guest OS
B. VMs are faster to boot than containers
C. Containers require a full OS per instance; VMs share the host OS kernel
D. Docker cannot run on Linux

16 Which file is used to assemble a Docker image?

A. Imagefile
B. docker-compose.yml
C. Dockerfile
D. Container.txt

17 Which command starts a container from a Docker image?

A. docker build
B. docker pull
C. docker commit
D. docker run

18 What is Kubernetes primarily used for?

A. Writing source code
B. Scanning code for security vulnerabilities
C. Automating deployment, scaling, and management of containerized applications
D. Managing physical hardware racks

19 In Kubernetes, what is the smallest deployable unit of computing that can be created and managed?

A. Pod
B. Node
C. Namespace
D. Cluster

20 What is the role of the Kubelet in Kubernetes?

A. It is the database storing cluster state
B. It balances load across the internet
C. It is the command line tool for users
D. It is an agent that runs on each node to ensure containers are running in a Pod

21 Which tool is known as an 'Agentless' configuration management tool?

A. Nagios
B. Ansible
C. Chef
D. Puppet

22 What format does Ansible use for its Playbooks?

A. XML
B. YAML
C. JSON
D. HTML

23 Which term describes the architecture of Puppet?

A. Peer-to-Peer
B. Master-Slave (or Server-Agent)
C. Agentless
D. Monolithic

24 In Puppet, the files containing the configuration details for a specific node or class of nodes are called:

A. Recipes
B. Manifests
C. Playbooks
D. Blueprints

25 What is Nagios primarily used for?

A. Continuous Integration
B. Continuous Monitoring of Infrastructure
C. Source Code Management
D. Container Orchestration

26 In Nagios, what is NRPE?

A. Nagios Real-time Processing Event
B. New Relic Process Engine
C. Network Routing Protocol Engine
D. Nagios Remote Plugin Executor

27 Which of the following describes the 'Shift Left' strategy in testing?

A. Developers write code with their left hand
B. Testing is performed earlier in the software development lifecycle
C. Testing is performed only after deployment to production
D. Testing is moved to the left side of the screen

28 What is Infrastructure as Code (IaC)?

A. Writing code to document hardware inventory manually
B. Physically building servers using code
C. Installing operating systems via CD-ROM
D. Managing and provisioning infrastructure through machine-readable definition files

29 Which Git command is used to combine changes from one branch into the current branch?

A. git merge
B. git status
C. git tag
D. git config

30 In the context of Maven, what are 'Transitive Dependencies'?

A. Dependencies used only for testing
B. Dependencies that must be manually downloaded
C. Dependencies of your direct dependencies that are automatically included
D. Dependencies that are removed during the build

31 Which Jenkins feature allows it to distribute loads across multiple computers?

A. Blue Ocean
B. Pipeline syntax
C. Master/Agent (Slave) architecture
D. Plugin Manager

32 What is Docker Hub?

A. A cloud-based registry service for sharing and storing Docker images
B. A local storage for containers
C. The kernel of the Docker engine
D. A networking tool for Docker

33 In Kubernetes, what is a Service?

A. An abstraction which defines a logical set of Pods and a policy by which to access them
B. A background process in Linux
C. A physical server
D. The billing component of K8s

34 Which concept in Ansible describes the list of managed nodes (servers)?

A. Library
B. Catalog
C. Manifest
D. Inventory

35 Puppet uses a Declarative language. What does this mean?

A. You describe the steps to achieve a state
B. You describe the desired final state, and the tool figures out how to achieve it
C. You must manually compile the code
D. You must write raw shell scripts

36 Which monitoring state in Nagios indicates a critical problem?

A. UNKNOWN
B. WARNING
C. OK
D. CRITICAL

37 What is the role of 'Headless Mode' in Selenium testing?

A. Running tests without a visible browser UI
B. Running tests without a hard drive
C. Running tests without an internet connection
D. Running tests without a monitor attached to the server

38 Which of the following is a key cultural aspect of DevOps?

A. Manual handoffs
B. Silos between teams
C. Blame culture
D. Shared responsibility and collaboration

39 What is a 'Commit Hash' in Git?

A. The size of the repository
B. A command to delete a file
C. A password to login to GitHub
D. A unique SHA-1 checksum that identifies a specific commit

40 In Maven, the standard directory layout places source code in:

A. root/java
B. app/src
C. code/source
D. src/main/java

41 Which command allows you to view the logs of a Docker container?

A. docker logs [container_id]
B. docker trace
C. docker history
D. docker view

42 What is the 'kubectl' command?

A. A specialized Linux kernel
B. The Kubernetes command-line tool for communicating with the cluster API
C. A database tool
D. A Docker image builder

43 In Ansible, what is a Module?

A. A unit of code that Ansible executes on the target node
B. A distinct server in the inventory
C. A hardware component
D. The main configuration file

44 What is the primary function of a Version Control System?

A. To monitor server health
B. To track changes to files over time
C. To deploy code to production
D. To compiling code

45 Which of the following is a benefit of Microservices architecture in DevOps?

A. Increased coupling between components
B. Easier management of monolithic codebases
C. Independent deployment and scaling of services
D. Single point of failure

46 What does CI stand for in CI/CD?

A. Cloud Infrastructure
B. Continuous Improvement
C. Continuous Integration
D. Code Inspection

47 If a Jenkins build fails, what is the most appropriate immediate action for a DevOps engineer?

A. Investigate the console output/logs to identify the error
B. Deploy the failed build to production
C. Ignore it and wait for the next build
D. Restart the Jenkins server immediately

48 Which Puppet component is responsible for collecting details about a node (OS, IP address, uptime)?

A. Catalog
B. Hiera
C. Mcollective
D. Facter

49 In a Dockerfile, which instruction specifies the base image?

A. CMD
B. COPY
C. RUN
D. FROM

50 What is the difference between git pull and git fetch?

A. git pull downloads changes and merges them; git fetch only downloads changes
B. git fetch downloads changes and merges them; git pull only downloads
C. There is no difference
D. git pull uploads changes; git fetch downloads changes