Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan
Conducting UAT for a New Feature
00:00
5 left

Conducting UAT for a New Feature

MediumSQL · PostgreSQL

Problem

What is your process for conducting User Acceptance Testing (UAT) on a new feature?

For a SQL-based UAT check, compare each test case's acceptance criteria with its recorded Adobe feature events. Include test cases with no events and testers whose records are missing.

Output

  1. One row per UAT test case
  2. Columns: case_id, feature_name, tester_name, expected_events, observed_events, expected_successes, observed_successes, and uat_status
  3. Include PASS only when both observed counts match the expected counts, otherwise FAIL
  4. Order by case_id ascending

Schema

uat_cases
ColumnTypeDescription
case_idPKINTUnique UAT test case identifier
feature_nameVARCHAR(150)Adobe feature being tested
tester_idINTAssigned tester identifier
expected_eventsINTExpected number of recorded events
expected_successesINTExpected number of successful events
testers
ColumnTypeDescription
tester_idPKINTUnique tester identifier
tester_nameVARCHAR(100)Tester display name
feature_events
ColumnTypeDescription
event_idPKINTUnique recorded feature event
case_idINTAssociated UAT test case
event_successBOOLEANWhether the feature event met its expected outcome
Tablesuat_casestestersfeature_events
Interviewer

Your question is Conducting UAT for a New Feature. Start with the requirements and the three tables in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
Sign up free to run your codeLog inLn 1
Run your query to see results here.