Parallel Execution and CI/CD MCQ Mock Test for Playwright Python (200 Questions)

← All Playwright Python mock interview topics

Test your knowledge of Parallel Execution and CI/CD with a timed Playwright Python MCQ mock test. Each attempt gives you 20 random questions in 20 minutes from a 200-question bank covering parallel execution with pytest-xdist, workers, distribution modes and worker-safe data, sharding large suites, running Playwright Python tests in GitHub Actions with caching, artifacts and secrets, Jenkins pipelines, the official Playwright Docker image, and keeping CI runs fast and reliable. Submit to see your score, the correct answers and an explanation for every question.

Advertisement

What this mock test covers

The questions follow Module 12 of the free Playwright with Python & Pytest tutorial. The Python lessons for this module are on the way; until then, revise with these related tutorials:

Advertisement

Sample questions with answers

  • Q. Which plugin runs pytest tests in parallel processes?
    Answer: pytest-xdist
    Each worker is a separate Python process.
  • Q. Which option starts 4 xdist workers?
    Answer: -n 4
    -n is short for –numprocesses.
  • Q. What does -n auto do?
    Answer: Starts one worker per detected physical CPU core
    -n logical uses logical CPUs (needs psutil).
  • Q. What does -n logical use for the worker count?
    Answer: The logical CPU count (needs psutil, else falls back to auto)
    Verified in pytest –help.
  • Q. What does -n 0 do?
    Answer: Runs tests in the main process, without workers
    Verified: worker_id was 'master'.

Ready for more? Go back to the Playwright Python mock interview dashboard to track your overall interview readiness.

Advertisement

Frequently asked questions

How many questions does the Parallel Execution and CI/CD mock test have?

The question bank has 200 questions. Each test picks 20 at random, favouring questions you have not seen, so about 10 attempts cover the full bank.

What is the pass mark?

You pass a test with 70% or more, which is 14 of 20 questions correct.

Can I retake the test?

Yes. Retake as often as you like. Every retake draws a fresh set of 20 questions and counts toward your 20-exam readiness target.