Learn › Software Testing › Interview Questions › Company-wise › Mastercard Mastercard Software Testing Interview Questions & Answers Curated interview practice questions with answers. These are practice scenarios, not a verified list of past interview questions.
Solved for Mastercard Start practicing
3 QUESTIONS FREE Sign up or log in to unlock the full question bank and track your progress. Unlock every question and answer, then continue practising company-wise and package-wise.
Sign up free Log in
01 Explain SQL joins briefly. Show answerINNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows and FULL keeps all rows from both tables.
02 What is the definition of done? Show answerA shared checklist for when a story is complete, usually including code review, tests passing, no open critical bugs and documentation updated.
03 What is a sprint planning meeting and what does QA contribute? Show answerThe team selects stories for the sprint. QA helps estimate testing effort, clarifies acceptance criteria and flags dependencies and risks.
04 How do you test an application when requirements change frequently? Show answerKeep tests modular, prioritise by risk, use exploratory testing, automate stable parts and keep close contact with product owners.
05 What is SQL and why do testers use it? Show answerA language to query databases. Testers use it to verify data saved by the application, prepare test data and check backend results.
06 What is a bug triage meeting? Show answerA regular review where QA, development and product assess new bugs and decide severity, priority, owner and target release.
07 How do you handle a bug found late in a release cycle? Show answerAssess impact and risk, discuss with product and dev, decide to fix, defer with a workaround or delay release, and document the decision.
08 What is the difference between a test case and a test scenario? Show answerA scenario is a high-level thing to test (user logs in); test cases are the detailed steps and data that verify it.
09 Verification vs validation? Show answerVerification: are we building the product right? (reviews, walkthroughs — no code run). Validation: are we building the right product? (actual testing against user needs).
10 How do you test database integrity using SQL? Show answerVerify inserted, updated and deleted rows match UI actions, check constraints, duplicates, NULLs and totals with COUNT and SUM queries.
11 Write test cases for a shopping cart. Show answerAdd, remove, update quantity, price and tax calculation, coupon codes, stock limits, cart persistence after login and checkout navigation.
12 What is a test environment? Show answerThe hardware, software, data and configuration where testing happens, set up to mirror production as closely as practical.
13 What is API testing and why is it important? Show answerTesting services directly without the UI, checking status codes, responses, security and performance. It finds issues early and is faster than UI tests.
14 What is compatibility testing? Show answerChecking the application works across browsers, devices, operating systems, screen sizes and network conditions.
15 Write SQL to verify an order was saved correctly. Show answerSELECT status, amount FROM orders WHERE order_id = 'ORD123';
-- compare with the UI, then check the matching rows in order_items
16 Write test cases for an ATM withdrawal. Show answerValid card and PIN, wrong PIN, three failed attempts, amount above balance, amount above daily limit, invalid denomination, machine out of cash, network failure and receipt printing.
17 Difference between black box, white box and grey box testing? Show answerBlack box tests behaviour without code knowledge; white box tests internal logic and paths; grey box uses partial knowledge of the internals.
18 Write test cases for a login page. Show answerValid login, wrong password, empty fields, case sensitivity, max length, SQL-injection strings, password masking, 'remember me', lock-out after N attempts and the forgot-password link.
19 SQL: find duplicate emails. Show answerSELECT email, COUNT(*)
FROM users
GROUP BY email
HAVING COUNT(*) > 1;
20 How would you test a login page for security? Show answerCheck SQL injection, brute-force lockout, password masking, session timeout, HTTPS, cookie flags, error messages not revealing users and password reset flow.
21 What are test data and how do you prepare them? Show answerThe inputs used in tests. Prepare using valid, invalid and boundary values from production-like but masked data, spreadsheets or generators.
Show answerTesting that is continuous and collaborative within each sprint, with testers working alongside developers and product owners from the start.
23 What is exploratory testing? Show answerLearning, test design and execution at the same time, without scripted cases — time-boxed sessions with a charter (e.g. 'explore checkout with coupons'), noting bugs and ideas. Great for finding edge cases.
24 How do you write a good bug title? Show answerState the problem, location and condition briefly, for example 'Checkout button disabled after applying a coupon on the cart page'.
25 What are the characteristics of a good test case? Show answerClear, concise, independent, repeatable, traceable to a requirement, with precise expected results and tested data.
26 What is regression testing, and when do you automate it? Show answerRe-testing existing features after a change. Automate stable, repetitive, high-value flows that run every release.
27 Write test cases for a calculator app. Show answerBasic operations, division by zero, decimals, large numbers, order of operations, clear and backspace, repeated operations and memory keys.
28 What is localisation and internationalisation testing? Show answerInternationalisation tests that the product can support many languages and formats; localisation tests that a specific locale is correct for text, currency, date and layout.
29 The developer says "it's not a bug". What do you do? Show answerRe-check the requirement, reproduce with clear steps and evidence (screenshots, logs), discuss with the BA/PO and record the final decision.
30 What is the use of SQL GROUP BY and HAVING in test validation? Show answerThey let testers verify totals and counts per category, such as the number of orders per customer, and compare them with the UI or reports.
31 What are the typical JIRA workflows for bugs? Show answerStatuses like To Do, In Progress, In Review, Ready for QA, Done and Reopened, with transitions that depend on the team's configuration.
Show answerUsing experience to guess where defects likely hide, such as empty fields, special characters or unexpected sequences, and designing tests for them.
33 How do you estimate testing effort? Show answerBreak the work into modules and test cases, use past velocity or three-point estimation (optimistic, likely, pessimistic), add time for test data, environment issues, retesting and regression, and keep a risk buffer.
34 What is a test plan and what does it contain? Show answerA document defining scope, approach, resources, schedule, entry and exit criteria, risks and deliverables of testing.
35 What are positive and negative test cases? Show answerPositive cases use valid inputs to confirm expected behaviour; negative cases use invalid inputs to confirm the system handles errors gracefully.
36 How do you reduce the number of defects slipping into production? Show answerShift left with early reviews, improve test design, automate regression, use better test data, add monitoring and learn from escaped defects.
37 What is the difference between an error, a defect and a failure? Show answerA human error causes a defect in the code, and when that defect is executed it produces a failure visible to users.
38 Scrum ceremonies and the tester's role? Show answerSprint planning (estimate test effort), daily stand-up (status and blockers), sprint review (demo) and retrospective (improve). Testers clarify acceptance criteria early and test within the sprint.
39 What are severity and priority? Give examples. Show answerSeverity is impact on the system; priority is urgency of the fix. A crash in a rare report is high severity, low priority; a spelling mistake in the logo is low severity, high priority.
40 How do you review test cases? Show answerPeer review for clarity, coverage of requirements, correct expected results, test data and traceability, then update and baseline them.
41 What is the difference between smoke testing in CI and full regression? Show answerSmoke tests run on every build for quick feedback; full regression runs less often, such as nightly or before release.
42 How do you test pagination, sorting and filtering through an API? Show answerSend page, size, sort and filter parameters, then verify counts, order, boundaries (first, last, empty page) and invalid parameter handling.
43 Production has a critical bug. What are your steps? Show answerReproduce and assess impact, inform stakeholders, help developers fix and verify in staging, run regression and check monitoring after the hotfix, then do a post-mortem.
44 Functional vs non-functional testing? Show answerFunctional testing checks what the system does (login, checkout). Non-functional testing checks how well it does it (performance, security, usability, compatibility).
45 How do you decide the priority of test cases? Show answerBy business criticality, usage frequency, defect history, risk and dependencies, running high-priority cases first.
46 Write test cases for a file upload feature. Show answerAllowed and disallowed formats, size limits, empty file, duplicate names, special-character names, cancel upload, slow network and multiple files.
47 What makes a good bug report? Show answerA clear title, steps to reproduce, expected vs actual result, environment/build, severity and priority, and evidence (screenshot, video, logs).
48 What are the boundary values for an age field that accepts 18–60? Show answerTest 17, 18, 19, 59, 60 and 61.
49 What is defect clustering? Show answerThe observation that a small number of modules contain most defects, so testing should focus on those areas.
50 Write a SQL query to find duplicate records. Show answerSELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
51 What is a test case and its components? Show answerA set of steps with inputs and expected results. Components: ID, title, preconditions, steps, test data, expected result, actual result and status.
52 What are the seven principles of testing? Show answerTesting shows presence of defects, exhaustive testing is impossible, test early, defects cluster, the pesticide paradox, testing is context-dependent and absence-of-errors is a fallacy.
53 Give an example of equivalence partitioning. Show answerFor a field accepting 1–100: valid class 1–100 (test 50), invalid below 1 (test −5), invalid above 100 (test 150). One value represents each class.
54 What is a traceability matrix? Show answerA grid mapping requirements to test cases and defects, proving every requirement is tested.
Show answerUser Acceptance Testing — end users or the client verify that the system meets business needs in a production-like environment before go-live.
56 How do you test an API using Postman? Show answerCreate a request with method, URL, headers and body, send it, check status and body, add test scripts and save it in a collection.
57 What is a test scenario for the login functionality at a high level? Show answerValid login, invalid login, forgot password, locked account and session handling are the main scenarios to cover.
Show answerSmoke testing checks that the critical features of a new build work (broad and shallow). Sanity testing checks that a specific fix or area works after a change (narrow and deep).
Show answerAn urgent patch released outside the normal schedule to fix a critical production defect, followed by regression testing and merge back to the main branch.
60 A bug is not reproducible. What next? Show answerRe-check environment, data, browser and steps; check the logs; try the reporter's setup; add video and console logs; mark it 'cannot reproduce' only after discussing with the developer, and keep monitoring.
61 What is the difference between static and dynamic testing? Show answerStatic testing reviews documents and code without executing; dynamic testing executes the software to observe behaviour.
62 What is the difference between alpha and beta testing? Show answerAlpha is done in-house by internal teams before release; beta is done by a limited group of real users in their own environment.
63 What is a sprint retrospective? Show answerA team meeting at the end of a sprint to discuss what went well, what did not and what to improve next.