1What is the primary goal of DevOps in software development?
A.To separate development and operations teams completely
B.To increase the time between software releases
C.To shorten the systems development life cycle and provide continuous delivery
D.To focus solely on manual testing processes
Correct Answer: To shorten the systems development life cycle and provide continuous delivery
Explanation:DevOps aims to shorten the systems development life cycle and provide continuous delivery with high software quality by bridging the gap between development and operations.
Incorrect! Try again.
2How does DevOps differ from the traditional Waterfall model?
A.DevOps is sequential, while Waterfall is iterative
B.Waterfall encourages collaboration, while DevOps creates silos
C.DevOps promotes continuous integration and deployment, whereas Waterfall is a linear, sequential approach
D.There is no difference between them
Correct Answer: DevOps promotes continuous integration and deployment, whereas Waterfall is a linear, sequential approach
Explanation:The Waterfall model is linear and sequential (finish one phase before starting the next), while DevOps is iterative, focusing on continuous integration and deployment.
Incorrect! Try again.
3Which of the following tools is primarily used for Version Control?
A.Docker
B.Git
C.Nagios
D.Selenium
Correct Answer: Git
Explanation:Git is a distributed version control system used to track changes in source code during software development.
Incorrect! Try again.
4Which tool is widely used for Containerization, allowing applications to run in isolated environments?
A.Maven
B.Docker
C.Puppet
D.Ansible
Correct Answer: Docker
Explanation:Docker is a platform used to create, deploy, and run applications in containers.
Incorrect! Try again.
5In the context of DevOps, what does CI stand for?
A.Continuous Integration
B.Code Inspection
C.Continuous Improvement
D.Central Intelligence
Correct Answer: Continuous Integration
Explanation:CI stands for Continuous Integration, a practice where developers regularly merge their code changes into a central repository.
Incorrect! Try again.
6Which tool is primarily used for build automation, specifically for Java projects?
A.Selenium
B.Maven
C.Nagios
D.Kubernetes
Correct Answer: Maven
Explanation:Apache Maven is a build automation tool used primarily for Java projects to manage dependencies and build processes.
Incorrect! Try again.
7What is the primary function of Selenium?
A.Container Orchestration
B.Infrastructure Monitoring
C.Automated Web Browser Testing
D.Configuration Management
Correct Answer: Automated Web Browser Testing
Explanation:Selenium is an open-source tool used for automating web browsers, widely used for testing web applications.
Incorrect! Try again.
8Which of the following is an open-source configuration management tool that uses a pull-based model?
A.Puppet
B.Git
C.Maven
D.Selenium
Correct Answer: Puppet
Explanation:Puppet is a configuration management tool that typically uses a pull-based architecture where agents check in with a master server.
Incorrect! Try again.
9What is a key characteristic of Ansible regarding agents?
A.It requires heavy agents on every node
B.It is agentless
C.It only works on Windows
D.It is a manual testing tool
Correct Answer: It is agentless
Explanation:Ansible is agentless, meaning it does not require any software to be installed on the nodes it manages; it uses SSH for communication.
Incorrect! Try again.
10Which tool is known as a Container Orchestration system for automating deployment, scaling, and management of containerized applications?
A.Nagios
B.Git
C.Kubernetes
D.Maven
Correct Answer: Kubernetes
Explanation:Kubernetes (often abbreviated as K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.
Incorrect! Try again.
11What is the primary role of Nagios in a DevOps environment?
A.Source Code Management
B.Continuous Monitoring and Alerting
C.Build Automation
D.Test Case Design
Correct Answer: Continuous Monitoring and Alerting
Explanation:Nagios is a monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.
Incorrect! Try again.
12In the DevOps lifecycle, which stage typically follows 'Build'?
A.Plan
B.Code
C.Test
D.Monitor
Correct Answer: Test
Explanation:Typically, after code is written and built (compiled/packaged), it undergoes the Test phase to ensure quality before deployment.
Incorrect! Try again.
13What is the main advantage of Automation in DevOps?
A.It increases the need for manual intervention
B.It slows down the deployment process
C.It reduces human error and increases speed/efficiency
D.It eliminates the need for developers
Correct Answer: It reduces human error and increases speed/efficiency
Explanation:Automation handles repetitive tasks, reducing the likelihood of human error and significantly speeding up the delivery pipeline.
Incorrect! Try again.
14Which of the following is NOT a phase in the DevOps Lifecycle?
A.Continuous Development
B.Continuous Testing
C.Continuous Stagnation
D.Continuous Monitoring
Correct Answer: Continuous Stagnation
Explanation:DevOps focuses on continuous flow (Development, Integration, Testing, Deployment, Monitoring). 'Stagnation' implies a lack of movement, which is the opposite of DevOps.
Incorrect! Try again.
15What is the formal definition of Software Testing?
A.Writing code to build an application
B.The process of executing a program with the intent of finding errors
C.Designing the user interface
D.Managing the server infrastructure
Correct Answer: The process of executing a program with the intent of finding errors
Explanation:Software testing is the process of evaluating and verifying that a software product or application does what it is supposed to do, essentially executing it to find defects.
Incorrect! Try again.
16Which of the following is a primary Objective of Testing?
A.To prove that the software has zero bugs
B.To punish developers for mistakes
C.To ensure the software meets requirements and satisfies the customer
D.To increase the cost of the project
Correct Answer: To ensure the software meets requirements and satisfies the customer
Explanation:Objectives include finding defects, ensuring quality, meeting requirements, and gaining confidence in the system's reliability.
Incorrect! Try again.
17If is the number of defects found, testing can prove:
A. (Absence of defects)
B.The presence of defects
C.The code is efficient
D.The software will never fail
Correct Answer: The presence of defects
Explanation:A fundamental principle of testing is that it can show the presence of defects, but cannot prove their absence.
Incorrect! Try again.
18Which level of testing is performed on individual modules or components of source code?
A.System Testing
B.Unit Testing
C.Integration Testing
D.Acceptance Testing
Correct Answer: Unit Testing
Explanation:Unit Testing involves testing individual units or components of the software to validate that each unit performs as designed.
Incorrect! Try again.
19Which testing type combines individual units and tests them as a group?
A.Unit Testing
B.Integration Testing
C.User Acceptance Testing
D.Smoke Testing
Correct Answer: Integration Testing
Explanation:Integration Testing focuses on verifying the interactions between different modules or services.
Incorrect! Try again.
20White Box Testing is also known as:
A.Behavioral Testing
B.Glass Box or Structural Testing
C.Data-Driven Testing
D.Beta Testing
Correct Answer: Glass Box or Structural Testing
Explanation:White Box Testing inspects the internal structures or workings of an application, hence the name Glass Box or Structural Testing.
Incorrect! Try again.
21Testing performed without knowledge of the internal workings of the application is called:
A.White Box Testing
B.Black Box Testing
C.Unit Testing
D.Code Review
Correct Answer: Black Box Testing
Explanation:Black Box Testing focuses on the input and output of the software system without knowing its internal implementation.
Incorrect! Try again.
22Which testing checks if the software satisfies the business requirements and is ready for delivery?
A.Unit Testing
B.Integration Testing
C.Acceptance Testing
D.Regression Testing
Correct Answer: Acceptance Testing
Explanation:Acceptance Testing (UAT) is the final phase where the software is tested for acceptability usually by the clients or end-users.
Incorrect! Try again.
23What is Regression Testing?
A.Testing a new feature only
B.Testing to ensure that recent code changes have not adversely affected existing features
C.Testing the system at peak load
D.Testing the user interface design
Correct Answer: Testing to ensure that recent code changes have not adversely affected existing features
Explanation:Regression testing ensures that previously developed and tested software still performs after a change.
Incorrect! Try again.
24In the context of Manual vs. Automation testing, which scenario is best suited for Automation?
A.Exploratory testing where requirements are changing
B.Usability testing requiring human observation
C.Repetitive regression test cases executed frequently
D.Ad-hoc testing
Correct Answer: Repetitive regression test cases executed frequently
Explanation:Automation is most cost-effective and efficient for repetitive, stable tasks like regression testing.
Incorrect! Try again.
25What is Manual Testing?
A.Using scripts to run tests
B.A human tester manually executing test cases without tools
C.Testing performed by AI
D.Using Selenium for checking login
Correct Answer: A human tester manually executing test cases without tools
Explanation:Manual testing involves a human sitting in front of a computer carefully executing test steps.
Incorrect! Try again.
26A Test Case generally consists of:
A.Only the pass/fail status
B.Test Case ID, Preconditions, Test Steps, Expected Result
C.The source code of the application
D.The developer's contact information
Correct Answer: Test Case ID, Preconditions, Test Steps, Expected Result
Explanation:A standard test case includes an ID, conditions required to start, steps to execute, and the expected outcome to verify against the actual result.
Incorrect! Try again.
27In Test Case Design, what is Boundary Value Analysis?
A.Testing random values
B.Testing values at the extreme ends (boundaries) of input domains
C.Testing the middle value of a range
D.Reviewing the code structure
Correct Answer: Testing values at the extreme ends (boundaries) of input domains
Explanation:Boundary Value Analysis focuses on values at the edge of equivalence partitions (e.g., if range is 1-10, test 0, 1, 10, 11), as errors often occur there.
Incorrect! Try again.
28Consider a system accepting age input . Which set of values represents valid Equivalence Partitioning for invalid inputs?
A.20, 30, 40
B.18, 60
C.17, 61
D.19, 59
Correct Answer: 17, 61
Explanation:Equivalence partitioning divides inputs into valid and invalid classes. Values outside the range ( or ) like 17 and 61 are invalid inputs.
Incorrect! Try again.
29What is the first state in a standard Defect Life Cycle?
A.Open
B.New
C.Fixed
D.Closed
Correct Answer: New
Explanation:When a defect is first logged by a tester, its status is typically set to New.
Incorrect! Try again.
30In the Defect Life Cycle, what does the status 'Reopen' indicate?
A.The developer has fixed the bug
B.The bug was not a real bug
C.The bug still exists after the developer claimed to fix it
D.The bug is postponed to the next release
Correct Answer: The bug still exists after the developer claimed to fix it
Explanation:If a tester verifies a fix and finds the issue persists, the defect status is changed from 'Fixed' (or 'Verify') back to Reopen.
Explanation:CD stands for Continuous Delivery (automated release preparation) or Continuous Deployment (automated release to production).
Incorrect! Try again.
32Which file is the core configuration file for Maven?
A.package.json
B.pom.xml
C.build.gradle
D.docker-compose.yml
Correct Answer: pom.xml
Explanation:The Project Object Model file, pom.xml, is the fundamental unit of work in Maven.
Incorrect! Try again.
33Which of the following describes an 'Artifact' in DevOps/Maven?
A.A software bug
B.A document describing the project
C.A deployable component like a JAR or WAR file generated by the build
D.A user manual
Correct Answer: A deployable component like a JAR or WAR file generated by the build
Explanation:An artifact is the output generated after a build process, such as a compiled library or application package.
Incorrect! Try again.
34What concept does Git use to create an independent line of development?
A.Trunk
B.Branch
C.Fork
D.Clone
Correct Answer: Branch
Explanation:A Branch in Git is used to develop features, fix bugs, or safely experiment with new ideas in a contained area of your repository.
Incorrect! Try again.
35In Docker, what is the difference between an Image and a Container?
A.They are the same thing
B.An Image is a running instance; a Container is a read-only template
C.An Image is a read-only template; a Container is a runnable instance of an image
D.Images are for Windows, Containers are for Linux
Correct Answer: An Image is a read-only template; a Container is a runnable instance of an image
Explanation:A Docker Image is the blueprint (code, libraries), while the Container is the actual running process based on that image.
Incorrect! Try again.
36Which DevOps tool uses 'Playbooks' written in YAML?
A.Jenkins
B.Git
C.Ansible
D.Nagios
Correct Answer: Ansible
Explanation:Ansible uses Playbooks, which are configuration files written in YAML to define the state of the managed nodes.
Incorrect! Try again.
37What is the basic operational unit in Kubernetes?
A.Node
B.Cluster
C.Pod
D.Container
Correct Answer: Pod
Explanation:A Pod is the smallest and simplest Kubernetes object, representing a single instance of a running process (containing one or more containers) in a cluster.
Incorrect! Try again.
38Smoke Testing is also referred to as:
A.Performance Testing
B.Build Verification Testing
C.Stress Testing
D.Security Testing
Correct Answer: Build Verification Testing
Explanation:Smoke Testing verifies the critical functionality of a build to decide if it is stable enough for further testing.
Incorrect! Try again.
39Which career role focuses on bridging the gap between coding and testing, often writing automated test scripts?
A.Business Analyst
B.SDET (Software Development Engineer in Test)
C.Project Manager
D.UI Designer
Correct Answer: SDET (Software Development Engineer in Test)
Explanation:An SDET is a developer who works in the testing team, focusing on testability, robustness, and performance via automation.
Incorrect! Try again.
40Which technical skill is highly valuable for a DevOps Engineer?
A.Photoshop
B.Scripting (Bash/Python) and Cloud knowledge
C.Accounting
D.Video Editing
Correct Answer: Scripting (Bash/Python) and Cloud knowledge
Explanation:DevOps engineers rely heavily on scripting for automation and cloud platforms for infrastructure management.
Incorrect! Try again.
41When a defect is assigned to a developer, what is the next logical status after they resolve it?
A.Closed
B.Fixed
C.New
D.Deferred
Correct Answer: Fixed
Explanation:Once a developer resolves the issue, they mark the status as Fixed, pending verification by the tester.
Incorrect! Try again.
42Which type of testing verifies that the system can handle expected traffic volume?
A.Load Testing
B.Unit Testing
C.Sanity Testing
D.Compatibility Testing
Correct Answer: Load Testing
Explanation:Load Testing (a type of performance testing) checks the system's behavior under expected load conditions.
Incorrect! Try again.
43What is Alpha Testing?
A.Testing performed by end-users at their own site
B.Testing performed by the development team/internal testers at the developer's site
C.Testing performed by robots
D.Testing the database only
Correct Answer: Testing performed by the development team/internal testers at the developer's site
Explanation:Alpha testing is internal acceptance testing performed before the software is released to external users (Beta).
Incorrect! Try again.
44Why is Communication considered a critical soft skill in DevOps?
A.It is not important
B.Because DevOps relies on breaking down silos between Dev and Ops teams
C.Because computers respond to voice commands
D.To write longer emails
Correct Answer: Because DevOps relies on breaking down silos between Dev and Ops teams
Explanation:DevOps is largely a cultural shift requiring collaboration; effective communication is essential to merge the workflows of development and operations.
Incorrect! Try again.
45In Git, which command uploads local repository content to a remote repository?
A.git pull
B.git fetch
C.git push
D.git commit
Correct Answer: git push
Explanation:git push updates the remote reference with local commits.
Incorrect! Try again.
46Which of the following is an application of software testing in IT companies?
A.Reducing the lifespan of hardware
B.Ensuring compliance with industry standards (e.g., ISO, GDPR)
C.Increasing the number of employees
D.Replacing developers
Correct Answer: Ensuring compliance with industry standards (e.g., ISO, GDPR)
Explanation:Testing ensures software is secure, reliable, and complies with legal/industry standards, protecting the company from liability.
Incorrect! Try again.
47What is a 'Manifest' in the context of Puppet?
A.A compiled binary
B.A list of passengers
C.Files containing configuration code (written in Puppet DSL)
D.A log file
Correct Answer: Files containing configuration code (written in Puppet DSL)
Explanation:Puppet uses files called Manifests (usually .pp extension) to define the desired configuration of a system.
Incorrect! Try again.
48Which testing level is most likely to find interface defects between two distinct systems?
A.Unit Testing
B.Integration Testing
C.Unit Testing
D.Monkey Testing
Correct Answer: Integration Testing
Explanation:Integration testing targets the interfaces and flow of data between modules or systems.
Incorrect! Try again.
49In the defect life cycle, if a bug is deemed not important enough to fix in the current release, it is marked as:
A.Rejected
B.Duplicate
C.Deferred
D.Verified
Correct Answer: Deferred
Explanation:Deferred means the bug is valid, but will be fixed in a future release rather than the current one.
Incorrect! Try again.
50Which of the following is NOT a benefit of using Nagios?
A.Detecting infrastructure outages
B.Alerting technical staff via email/SMS
C.Automatically writing code for developers
D.Monitoring network protocols (SMTP, HTTP, etc.)
Correct Answer: Automatically writing code for developers
Explanation:Nagios monitors and alerts; it does not write application code.