Software Testing Technology & Digital Applications 4 — Questions and Answers
Question 1: Which approach does Docker primarily support in software testing?
- Manual exploratory sessions
- Consistent, containerized test environments that eliminate 'works on my machine' issues (Correct answer)
- Graphical UI record-and-playback automation
- Load testing with virtual users
Correct answer: Consistent, containerized test environments that eliminate 'works on my machine' issues
Docker containers package an application with all its dependencies, ensuring tests run identically across developer machines, CI servers, and staging.
Question 2: In testing IoT (Internet of Things) devices, which challenge is MOST distinct from traditional web app testing?
- Writing test cases
- Verifying firmware behavior across constrained hardware and unreliable network conditions (Correct answer)
- Running regression suites
- Tracking defects in a bug management system
Correct answer: Verifying firmware behavior across constrained hardware and unreliable network conditions
IoT testing must account for low-power hardware, intermittent connectivity, and embedded firmware that cannot easily be updated.
Question 3: What does 'blue-green deployment' allow QA teams to do more safely?
- Run tests in parallel on two identical environments and switch traffic only after validation (Correct answer)
- Assign blue tickets to bugs and green tickets to enhancements
- Color-code test suites by priority
- Deploy twice as fast by skipping staging
Correct answer: Run tests in parallel on two identical environments and switch traffic only after validation
Blue-green deployment keeps two identical environments; the new release is validated on the inactive environment before traffic is switched, reducing rollout risk.
Question 4: A tester needs to verify that a payment gateway integration handles declined cards gracefully. Which technique is most appropriate?
- Boundary value analysis on card numbers
- End-to-end integration testing using sandbox credentials provided by the payment provider (Correct answer)
- Static code analysis of the payment module
- Mutation testing on the checkout component
Correct answer: End-to-end integration testing using sandbox credentials provided by the payment provider
Payment providers offer sandbox environments with test card numbers to simulate various decline scenarios without real transactions.
Question 5: What is 'chaos engineering' and how does it relate to testing digital applications?
- Randomly assigning testers to unrelated projects
- Deliberately injecting failures into production-like systems to discover weaknesses before they cause outages (Correct answer)
- Writing test cases without a plan
- Testing applications in a disorganized sequence
Correct answer: Deliberately injecting failures into production-like systems to discover weaknesses before they cause outages
Chaos engineering proactively introduces faults such as network latency or service crashes to reveal resilience gaps before real incidents occur.
Question 6: Which accessibility testing tool is widely used to scan web pages for WCAG compliance issues?
- Selenium WebDriver
- axe-core (Correct answer)
- Apache JMeter
- Appium
Correct answer: axe-core
axe-core is an open-source accessibility engine that can be integrated into browsers and automated test suites to detect WCAG violations.
Question 7: When testing a microservices architecture, which type of test validates the contracts between individual services?
- System testing
- Contract testing (Correct answer)
- Unit testing
- Alpha testing
Correct answer: Contract testing
Contract testing, often done with tools like Pact, ensures that the provider and consumer of a service agree on request/response formats without requiring both to run simultaneously.
Which approach does Docker primarily support in software testing?