Continuous Testing Foundation Practice Exam, Exams of Technology

A practice exam assessing continuous testing strategies, automated quality gates, risk-based testing, shift-left QA, DevOps pipeline testing, and test orchestration. It helps candidates understand how to integrate testing throughout development cycles to ensure rapid, reliable, high-quality software releases.

Typology: Exams

2025/2026

Available from 01/09/2026

shilpi-jain-1
shilpi-jain-1 🇮🇳

4.2

(5)

29K documents

1 / 110

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Continuous Testing Foundation Practice
Exam
Question 1. **What is the primary goal of DevOps testing?**
A) To replace all manual testing activities
B) To integrate testing early and continuously throughout the delivery pipeline
C) To perform testing only after production release
D) To ensure only developers write test scripts
Answer: B
Explanation: DevOps testing aims to embed testing at every stage of the pipeline, shifting left to
catch defects early and providing rapid feedback.
---
Question 2. **Which of the following best describes “ShiftLeft” in continuous testing?**
A) Moving testing activities to later stages of the pipeline
B) Performing testing after deployment to production
C) Conducting testing as early as possible, often during coding
D) Shifting responsibility for testing to the operations team
Answer: C
Explanation: “ShiftLeft” means introducing testing activities earlier, such as unit tests during
development, to detect defects sooner.
---
Question 3. **In a traditional waterfall model, testing typically occurs:**
A) Concurrently with development
B) After the coding phase is completed
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Continuous Testing Foundation Practice Exam and more Exams Technology in PDF only on Docsity!

Exam

Question 1. What is the primary goal of DevOps testing? A) To replace all manual testing activities B) To integrate testing early and continuously throughout the delivery pipeline C) To perform testing only after production release D) To ensure only developers write test scripts Answer: B Explanation: DevOps testing aims to embed testing at every stage of the pipeline, shifting left to catch defects early and providing rapid feedback.


Question 2. Which of the following best describes “Shift‑Left” in continuous testing? A) Moving testing activities to later stages of the pipeline B) Performing testing after deployment to production C) Conducting testing as early as possible, often during coding D) Shifting responsibility for testing to the operations team Answer: C Explanation: “Shift‑Left” means introducing testing activities earlier, such as unit tests during development, to detect defects sooner.


Question 3. In a traditional waterfall model, testing typically occurs: A) Concurrently with development B) After the coding phase is completed

Exam

C) Continuously throughout the project D) Before any requirements are defined Answer: B Explanation: Waterfall places testing in a distinct phase after implementation, unlike DevOps which integrates testing throughout.


Question 4. Which benefit of continuous testing directly contributes to reduced time‑to‑market? A) Higher test coverage percentages B) Automated regression suites that run on every commit C) Increased number of manual exploratory tests D) Extended performance testing windows Answer: B Explanation: Automated regression tests that execute on each commit give fast feedback, allowing quicker releases.


Question 5. “Design for Testability” primarily means: A) Writing code without any unit tests B) Structuring code so it can be easily and reliably tested C) Adding more UI tests than backend tests D) Outsourcing testing to third‑party vendors Answer: B

Exam

Question 8. Which cultural tenet is most critical for successful continuous testing? A) Strict hierarchy between developers and testers B) Shared responsibility for quality across all team members C) Isolating testers from developers to avoid bias D) Emphasizing speed over quality Answer: B Explanation: A collaborative culture where everyone owns quality enables early defect detection and rapid feedback.


Question 9. In a DevOps organization, the traditional tester role often evolves into: A) “Automation Engineer” who only writes scripts B) “DevOps Tester” who works across development, operations, and security C) “Project Manager” overseeing test schedules D) “Release Engineer” focusing solely on deployment scripts Answer: B Explanation: The DevOps tester participates throughout the pipeline, integrating testing with development, ops, and security concerns.


Question 10. Which KPI best reflects the efficiency of defect detection in a continuous testing environment?

Exam

A) Number of test cases written per sprint B) Mean Time to Detect (MTTD) defects C) Total lines of code in the repository D Number of manual test executions per release Answer: B Explanation: MTTD measures how quickly defects are identified after introduction, indicating testing efficiency.


Question 11. During which CI stage is static code analysis most appropriate? A) After production deployment B) Immediately after code is committed to version control C) During user acceptance testing D) In the final release candidate stage Answer: B Explanation: Static analysis runs early on committed code to catch syntax, security, and style issues before compilation.


Question 12. Which test type is primarily used to verify that a new build does not break the most critical functionality? A) Load testing B) Smoke testing C) Usability testing

Exam

Explanation: Hybrid frameworks blend multiple automation approaches to leverage their strengths.


Question 15. When selecting a performance testing tool for continuous testing, the most important criterion is: A) Ability to generate colorful reports B) Integration with CI/CD pipelines and support for automated execution C) Having a built‑in video recorder D) Being open‑source regardless of scalability Answer: B Explanation: Seamless CI integration allows performance tests to run automatically on each build, providing timely feedback.


Question 16. Which practice helps keep automated test suites maintainable over time? A) Hard‑coding test data inside scripts B) Grouping tests by feature and using reusable modules C) Writing one giant test that covers all scenarios D) Ignoring test failures to keep the pipeline green Answer: B Explanation: Organizing tests modularly and reusing code reduces duplication and eases maintenance.

Exam

Question 17. Infrastructure as Code (IaC) contributes to continuous testing by: A) Eliminating the need for any test environments B) Allowing rapid, repeatable provisioning of test environments that mirror production C) Requiring manual configuration of servers for each test run D) Making test data immutable Answer: B Explanation: IaC scripts can spin up consistent environments on demand, ensuring test fidelity and speed.


Question 18. Which orchestration tool is commonly used to manage containerized test environments in a DevOps pipeline? A) Jenkins B) Docker Compose C) Kubernetes D) Selenium Grid Answer: C Explanation: Kubernetes automates deployment, scaling, and management of containerized workloads, ideal for test topologies.


Question 19. A “Canary Release” is primarily used to:

Exam

D) The amount of test data that is not used Answer: B Explanation: Defect leakage quantifies how many issues were missed by testing and reached end users.


Question 22. Which type of testing is most suitable for validating UI responsiveness across multiple browsers in a CI pipeline? A) Unit testing B) API testing C) Cross‑browser automated UI testing using Selenium or Cypress D) Load testing with JMeter Answer: C Explanation: Cross‑browser UI tests automate interactions across browsers, ensuring consistent UI behavior.


Question 23. What is the main purpose of a “Blue/Green Deployment”? A) To run two versions of an application simultaneously for A/B testing B) To switch traffic from the current environment (blue) to a new one (green) with zero downtime C) To test only the backend services without UI D) To perform continuous security scanning Answer: B

Exam

Explanation: Blue/Green deployments maintain two identical environments, allowing seamless traffic cut‑over.


Question 24. Which of the following best defines “Shift‑Right” testing? A) Performing all tests after the product is retired B) Extending testing activities into production to validate real‑world behavior C) Moving testing responsibilities to the UX team only D) Eliminating testing from the CI pipeline Answer: B Explanation: Shift‑Right involves monitoring and testing in production, such as canary analysis and observability.


Question 25. When integrating a new test automation tool into a DevOps toolchain, the first step should be: A) Immediately replace all existing tools B) Conduct a proof‑of‑concept to verify compatibility with CI pipelines C) Train only senior developers on the tool D) Disable all quality gates until the tool is fully configured Answer: B Explanation: A PoC validates that the tool works with existing processes before full adoption.


Exam

A) Manually configuring each test server B) Using immutable infrastructure and IaC scripts to provision environments C) Ignoring environment configuration changes after initial setup D) Relying on developers to remember environment settings Answer: B Explanation: Immutable infrastructure ensures environments are recreated from the same source, preventing drift.


Question 29. What is the primary purpose of “Test Data Management” in continuous testing? A) To generate random data for each test run regardless of relevance B) To provide consistent, realistic, and secure data sets for automated tests C) To store test results in a spreadsheet D) To limit the amount of data used in production Answer: B Explanation: Proper test data management ensures tests are reliable, repeatable, and comply with data privacy.


Question 30. Which metric best reflects the speed of feedback provided by automated tests? A) Test case count B) Mean Time to Feedback (MTTF) after a code commit

Exam

C) Number of manual testers D) Percentage of UI tests in the suite Answer: B Explanation: MTTF measures how quickly the team receives test results after a change, essential for rapid iteration.


Question 31. A “Service Virtualization” tool is most useful when: A) All dependent services are fully available during testing B) Certain external services are unavailable, costly, or difficult to provision for test runs C) You only need to test UI components D) Performance testing is not required Answer: B Explanation: Service virtualization simulates external dependencies, allowing tests to run in isolation.


Question 32. Which of the following best describes “Observability” in the context of testing in production? A) The ability to see the source code of third‑party libraries B) Collecting logs, metrics, and traces to understand system behavior in real time C) Running unit tests on production servers D) Deploying only static HTML pages Answer: B

Exam

Question 35. What does “Continuous Delivery” guarantee about software releases? A) Every commit is automatically pushed to production without review B) The software is always in a deployable state, but actual deployment may be manual C) Only major releases are allowed each quarter D) All tests are executed only on the final release candidate Answer: B Explanation: Continuous Delivery ensures that each build passes all quality gates, making it ready for release at any time.


Question 36. Which tool is commonly used for automating API tests within a CI pipeline? A) Selenium WebDriver B) Postman/Newman C) JIRA D) Docker Compose Answer: B Explanation: Postman collections can be executed via Newman in CI to validate API contracts automatically.


Exam

Question 37. In a DevOps environment, the “Definition of Done” (DoD) should include: A) Only code compilation B) Completion of unit tests, integration tests, and meeting quality gates C) Documentation of the code without testing D) Approval from senior management only Answer: B Explanation: DoD incorporates all quality criteria, ensuring that work is truly complete and test‑validated.


Question 38. Which of the following best illustrates “Test Orchestration” in a CI/CD pipeline? A) Manually running tests on a developer’s laptop B) Using a tool like Jenkins to trigger and coordinate multiple test suites in a defined order C) Writing a single monolithic test script that does everything D) Relying on developers to remember to run tests after each commit Answer: B Explanation: Orchestration automates the sequencing and execution of various test types across stages.


Question 39. What is the main advantage of “Parallel Test Execution” in a CI environment? A) Reduces the number of test cases needed B) Shortens overall test cycle time by running tests concurrently on multiple agents

Exam

Explanation: Canary analysis compares key performance indicators of the new version against the stable version to detect regressions.


Question 42. Which of the following best defines “Test Coverage” in the context of continuous testing? A) The percentage of test cases that have passed B) The proportion of code, requirements, or user stories exercised by tests C) The number of test environments available D) The total runtime of all automated tests Answer: B Explanation: Test coverage measures how much of the artifact (code, requirements) is exercised by the test suite.


Question 43. A “Feature Flag” is primarily used to: A) Disable the entire CI pipeline B) Toggle functionality on/off at runtime, enabling safe release of incomplete features C) Encrypt test data D) Replace manual testing with automation Answer: B Explanation: Feature flags allow developers to ship code with hidden features that can be enabled gradually.

Exam

Question 44. Which of the following is an example of a “non‑functional” test in continuous testing? A) Unit test verifying a calculation B) UI test checking button label text C) Load test measuring response time under high traffic D) Integration test of two services’ API contracts Answer: C Explanation: Load testing evaluates performance, a non‑functional attribute.


Question 45. In a DevOps pipeline, which stage typically runs “smoke tests”? A) After code is merged but before the build artifact is created B) Immediately after the build artifact is produced, before deployment to a test environment C) Only after production release D) During the planning phase of a sprint Answer: B Explanation: Smoke tests verify the basic health of the build before it proceeds to more extensive testing.


Question 46. Which of the following is a primary reason to use “containerization” for test environments?