SAS A00-231 Practice Exam Questions & Answers
SAS A00-231 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- A00-231
- Full Name
- SAS 9.4 Base Programming - Performance-Based Exam
- Issuing Body
- SAS
- Question Format (Our Bank)
- Multiple Choice
- Full Question Set
- 36 questions Get All Questions
Free A00-231 Practice Questions
Each question shows the correct answer and an explanation of why it is right
Question 1 Domain 2 Manage Data
SIMULATION
Scenario:
Open the existing program, program44.sasfrom folder cert\errors. At any time, you may save your corrected program asprogram44incert\programs. This program is intended to:
O Create a new data set using thecert.input44set as input
O Drop variables:bp_status, weight_status, andsmoking _status.
o Create a new column,chol_status, based on the following values of cholesterol:
less than 200: "Safe"
200-239: "High - Borderline"
240 and higher: "High" oShould not calculatechol_statusfor missing cholesterol values There are multiple errors in the program. These may be syntax errors, logic errors, or problems with the program structure. Logic errors might not produce messages in the log, but will cause the program to produce results different than intended. Correct the errors, run the program, and then use the results to answer the next 3 questions. How many variables are in thework. outdata set? Enter your numeric answer in the space below:
Question 2 Domain 2 Manage Data
SIMULATION
Scenario:
Continuing with the previous program (program27), add a PROC SORT step that satisfies the following criteria:
o Creates the output dataset results.output27b
o Sorts the observations by order.
o Removes duplicate values of the first occurrence found during the sort.
What is the value of Employee_ID for observation 181 inresults.output27b?
proc sort data=cert.input27 out=results.output27b nodupkey;
by descending postal_code;
run;
proc print data=results.output27b (firstobs=98 obs=181);
var employee_ID;
run:
Question 3 Domain 1 Access and Create Data Structures
Which of the following SAS programs creates a variable named City with a value ofChicago?
Select one:
Get the complete A00-231 question set
$20$40
Question 4 Domain 2 Manage Data
SIMULATION
Scenario:
This project will use data set cert.input08a and cert.input08b. At
any time, you may save your program
as program08 in cert\programs.
Both data sets contain a common numeric variable named ID.
Write a program that will use a SAS DATA Step to:
o Combine data sets cert.input08a and cert.input08b by
matching values of the ID variable.
o Write only observations that are in both data sets to a
new data set named results.match08.
o Write all other non-matching observations from either
data set to a new data set named results.nomatch08.
o Exclude all variables that begin with
"ex" from results.nomatch08.
How many variables (columns) are in results.match08
proc sort data=cert.input08b out=work.input08b;
by ID;
run:
data results.match08 results.nomatch08 (drop=ex: );
merge work.input08a (in=a) work.input08b (in=b);
by ID;
if a and b then output results.match08;
else output results.nomatch08;
run;
proc contents data=results.match08;
SAS code that could be used to solve this project:
proc
sort data=cert.input08a out=work.input08a;
by ID;
run:
run;
proc contents data=results.nomatch08;
run;
The correct answer is: 117
Question 5 Domain 1 Access and Create Data Structures
The following SAS program is submitted:
data work.test;
type='SQL';
if type='SAS' then description='SAS Program';
else description='other'; length description 8;
run;
What occurs when the program is submitted?
Select one:
Question 6 Domain 2 Manage Data
SIMULATION
Scenario:
This project will use data set cert.input13. At any time, you may
save your program as program13 in cert\programs.
This data set contains 1001 observations and 2 variables:
o Date1, a numeric variable representing an unformatted
SAS date value. Example: 12001.
o Charnum, a character variable representing a monetary
amount. Example: $50,000.
Write a SAS program that will:
o Save the new data set as results.output13.
o Create a new variable Chdate that converts
the datel variable to a character variable that is in the
format ddmonyyyy, such as 11NOV1992.
o Create a new variable num1 that converts
the Charnum variable to a numeric variable.
What is the value ofChdatefor observation 52?
data results.output13;
set cert.input13;
Chdate=put(date 1,date9.);
num 1=input(Charnum,dollar7.);
run;
proc print data=results.output13 (firstobs=52 obs=52);
run;
Question 7 Domain 1 Access and Create Data Structures
Scenario:

The following code is submitted: data WORK.FINAL_EMPS; set WORK.EMPLOYEE WORK.NEW_EMPS; run; proc print data=WORK.FINAL_EMPS; title 'The RESULTS Data Set'; run; What is the resulting data set?
What the SAS A00-231 Exam Covers
Exam domains verified against the Official SAS A00-231 exam guide, last checked November 2026.
Domain 1 Access and Create Data Structures
20% - 25%Learn to read data from various sources including CSV, Excel, and SAS datasets using SET statements and PROC IMPORT. Create temporary and permanent SAS datasets through DATA steps and handle file access through LIBNAME statements and the CONTENTS procedure. Work with date and time values by understanding how SAS stores them and using informats and formats to read and display them correctly.
Domain 2 Manage Data
35% - 40%Sort and deduplicate data using PROC SORT and manipulate datasets through conditional processing with IF-THEN/ELSE statements and DO loops. Create and modify variables using assignment statements, rename operations, and attributes like LABEL, FORMAT, and LENGTH. Use advanced techniques like first. and last. processing, RETAIN, SUM statements, and PROC TRANSPOSE to restructure and aggregate data by groups.
Domain 3 Error Handling
15% - 20%Identify and resolve programming logic errors using PUTLOG statements to inspect variable values and trace execution. Recognize syntax errors including misspelled keywords, unmatched quotation marks, missing semicolons, and invalid options. Learn to read SAS log messages to diagnose problems and use temporary variables N and ERROR to debug DATA steps.
Domain 4 Generate Reports and Output
15% - 20%Create list reports with PROC PRINT by selecting and ordering variables, calculating totals, and identifying observations using VAR, SUM, WHERE, ID, and BY statements. Generate summary tables and frequency analysis with PROC FREQ and PROC MEANS using options like CLASS, OUTPUT, and WAYS. Use PROC FORMAT for custom formats, ODS statements to create HTML, PDF, RTF, XLSX, and PPTX output, and the EXPORT procedure to save data in formats like CSV and Excel.
A00-231 Exam FAQ
Common questions about the exam itself
What makes the A00-231 performance-based exam different from traditional multiple-choice certification tests?
What prior experience or training do I need before attempting the A00-231 exam?
How long should I expect to spend preparing for the A00-231 exam?
What happens if I fail the A00-231 exam? Can I retake it?
How long is the A00-231 certification valid after I pass?
Which SAS job roles does the Base Programming Specialist credential map to?
What is the relationship between the A00-231 and the A00-233 delta exam?
Which objective area of A00-231 is typically the most challenging for candidates?
How much time am I given to complete the A00-231 exam?
What is the passing score for the A00-231 exam?
Other SAS Exams
Free practice questions for more SAS certification exams
