SAS Certified Specialist: Base Programming for SAS Viya — Questions and Answers
Question 1: What quality assurance measure supports assessment and evaluation?
- Annual review is sufficient
- Quality only matters for new practitioners
- Quality checks are unnecessary for experienced professionals
- Regular self-assessment, peer review, and adherence to established standards (Correct answer)
Correct answer: Regular self-assessment, peer review, and adherence to established standards
Ongoing quality assurance through self-assessment, peer review, and standards adherence ensures continuous improvement.
Question 2: How should challenges in applied methods and techniques be addressed?
- Delegate all challenges to supervisors
- Apply systematic problem-solving, seek expert guidance when needed, and document decisions (Correct answer)
- Avoid challenges and stick to familiar tasks
- Ignore challenges until they resolve themselves
Correct answer: Apply systematic problem-solving, seek expert guidance when needed, and document decisions
Systematic problem-solving combined with appropriate consultation and documentation ensures challenges are addressed effectively.
Question 3: What ethical standard governs core concepts and principles practice?
- Ethical standards are optional for certified professionals
- Ethics are personal opinions, not professional requirements
- Ethics only apply in academic settings
- Adherence to the profession's code of ethics and applicable laws and regulations (Correct answer)
Correct answer: Adherence to the profession's code of ethics and applicable laws and regulations
Professional ethics codes and applicable laws provide the framework for ethical practice in every professional field.
Question 4: What is the purpose of a 'DATA' step in SAS?
- To create datasets and manipulate data. (Correct answer)
- To define the format of the output.
- To connect to a database.
- To display results of a procedure.
Correct answer: To create datasets and manipulate data.
The 'DATA' step is used to create datasets, read and manipulate data in SAS.
Question 5: What is the primary objective of data management in statistical analysis?
- To ensure data privacy.
- To make the data available for archiving.
- To reduce data usage.
- To ensure data integrity and accuracy (Correct answer)
Correct answer: To ensure data integrity and accuracy
Data management in statistical analysis focuses on organizing, storing, and maintaining data in a way that preserves its quality. The primary objective is to ensure data integrity, meaning the data is complete, consistent, and reliable, and accuracy, meaning it correctly reflects the real-world phenomena it represents. This foundation of high-quality data is critical for drawing valid and trustworthy statistical conclusions.
Question 6: How should challenges in assessment and evaluation be addressed?
- Ignore challenges until they resolve themselves
- Apply systematic problem-solving, seek expert guidance when needed, and document decisions (Correct answer)
- Delegate all challenges to supervisors
- Avoid challenges and stick to familiar tasks
Correct answer: Apply systematic problem-solving, seek expert guidance when needed, and document decisions
Systematic problem-solving combined with appropriate consultation and documentation ensures challenges are addressed effectively.
Question 7: How should communication and documentation knowledge be maintained and updated?
- Knowledge updates are only needed every five years
- Initial training provides lifelong competence
- Through continuous professional development, current literature review, and professional networking (Correct answer)
- Learning stops after certification
Correct answer: Through continuous professional development, current literature review, and professional networking
Professional competence requires ongoing development through education, literature review, and engagement with the professional community.
Question 8: Which SAS resource publishes free technical papers and documentation that support self-directed continuing education?
- SAS License Center
- SAS Support documentation and SAS Communities (Correct answer)
- SAS Invoice Portal
- SAS Partner Directory
Correct answer: SAS Support documentation and SAS Communities
SAS documentation and the SAS Communities site provide free learning material and peer help.
Question 9: How should professionals apply applied methods and techniques in daily practice?
- Consistently integrate best practices into every aspect of professional work (Correct answer)
- Only when being evaluated
- Apply principles selectively based on convenience
- Follow standards only for complex tasks
Correct answer: Consistently integrate best practices into every aspect of professional work
Consistent application of professional standards ensures quality outcomes and builds professional credibility.
Question 10: Which approach best prepares a certified professional for a newer SAS exam version?
- Skip preparation since prior credential exempts content
- Memorize old exam answers
- Rely solely on knowledge from the old version
- Review the new exam content guide and take official practice exams (Correct answer)
Correct answer: Review the new exam content guide and take official practice exams
Exam content guides and practice exams show what changed and what will be tested.
Question 11: What does ODS stand for in SAS?
- Output Data System
- Organized Data Structure
- Online Data Service
- Output Delivery System (Correct answer)
Correct answer: Output Delivery System
ODS stands for Output Delivery System, which controls how SAS procedure output is formatted and delivered to various destinations.
Question 12: A LABEL statement used inside a PROC step (such as PROC PRINT or PROC REPORT) assigns labels that:
- Create permanent variable groupings in the PDV
- Are permanently stored in the dataset's descriptor portion
- Define axis labels for ODS Statistical Graphics
- Are temporary and apply only within that procedure's output (Correct answer)
Correct answer: Are temporary and apply only within that procedure's output
Labels assigned within a PROC step are temporary, applying only to that procedure's output, whereas DATA step LABEL statements assign permanent labels stored in the dataset.
Question 13: Which of the following is the correct syntax to read in a CSV file in SAS?
- proc import file='file.csv';
- proc import datafile='file.csv' out=mydata;
- proc import datafile='file.csv';
- data import; infile 'file.csv';
This question tests knowledge of how to import CSV files into SAS.
Question 14: How should applied methods and techniques knowledge be maintained and updated?
- Learning stops after certification
- Through continuous professional development, current literature review, and professional networking (Correct answer)
- Knowledge updates are only needed every five years
- Initial training provides lifelong competence
Correct answer: Through continuous professional development, current literature review, and professional networking
Professional competence requires ongoing development through education, literature review, and engagement with the professional community.
Question 15: Why is data normalization important in statistical analysis?
- It removes outliers from data.
- It increases data variability.
- It reduces the need for data validation.
- It standardizes data for meaningful comparisons (Correct answer)
Correct answer: It standardizes data for meaningful comparisons
Normalization ensures that the data has a consistent range, making it easier to compare different data sets.
Question 16: How should professionals apply professional standards and ethics in daily practice?
- Consistently integrate best practices into every aspect of professional work (Correct answer)
- Only when being evaluated
- Follow standards only for complex tasks
- Apply principles selectively based on convenience
Correct answer: Consistently integrate best practices into every aspect of professional work
Consistent application of professional standards ensures quality outcomes and builds professional credibility.
Question 17: In the PROC TABULATE TABLE statement, which operator nests one variable or statistic within another?
- Asterisk (*) (Correct answer)
- Slash (/)
- Plus (+)
- Comma (,)
Correct answer: Asterisk (*)
The asterisk (*) in PROC TABULATE nests variables or associates statistics with classification variables within a dimension of the table.
Question 18: What is the foundational principle of continuing education requirements in the Certified Statistical Analysis System Specialist field?
- Maximizing personal advancement
- Following the easiest path available
- Avoiding all challenging situations
- Maintaining competence, integrity, and service to stakeholders (Correct answer)
Correct answer: Maintaining competence, integrity, and service to stakeholders
The foundational principles of continuing education requirements in Certified Statistical Analysis System Specialist center on maintaining competence, integrity, and quality service.
Question 19: You saved residuals to a data set. Which procedure and option produce a Shapiro-Wilk normality test?
- PROC FREQ with CHISQ
- PROC MEANS with NORMAL
- PROC CORR with SPEARMAN
- PROC UNIVARIATE with NORMAL (Correct answer)
Correct answer: PROC UNIVARIATE with NORMAL
The NORMAL option in PROC UNIVARIATE produces tests for normality, including Shapiro-Wilk.
Question 20: What does the PRESS statistic in PROC REG measure?
- The sum of the squared ordinary residuals
- The sum of the squared leave-one-out prediction residuals (Correct answer)
- The variance inflation of each coefficient
- The ratio of the model mean square to the error mean square
Correct answer: The sum of the squared leave-one-out prediction residuals
PRESS sums the squared residuals from predicting each observation with a model fit without it; lower values indicate better predictive ability.
Question 21: What quality assurance measure supports safety and compliance?
- Quality checks are unnecessary for experienced professionals
- Quality only matters for new practitioners
- Annual review is sufficient
- Regular self-assessment, peer review, and adherence to established standards (Correct answer)
Correct answer: Regular self-assessment, peer review, and adherence to established standards
Ongoing quality assurance through self-assessment, peer review, and standards adherence ensures continuous improvement.
Question 22: How should challenges in communication and documentation be addressed?
- Avoid challenges and stick to familiar tasks
- Delegate all challenges to supervisors
- Apply systematic problem-solving, seek expert guidance when needed, and document decisions (Correct answer)
- Ignore challenges until they resolve themselves
Correct answer: Apply systematic problem-solving, seek expert guidance when needed, and document decisions
Systematic problem-solving combined with appropriate consultation and documentation ensures challenges are addressed effectively.
Question 23: What is data transformation in the context of data preparation?
- Converting data into a standard format (Correct answer)
- Adding new variables randomly.
- Deleting unnecessary data.
- Sorting data in descending order.
Correct answer: Converting data into a standard format
Data transformation in data preparation refers to the process of converting raw data from one format or structure into another, often a more suitable or standardized one, for analysis. This can involve tasks like normalizing values, aggregating data, creating new variables, or changing data types to ensure consistency and compatibility with analytical methods. It makes data ready for meaningful statistical processing and accurate modeling.
Question 24: The ODS GRAPHICS ON statement in SAS activates which capability?
- HTML-only image generation within ODS HTML output
- ODS Statistical Graphics enabling automatic graphs from analytical procedures (Correct answer)
- Interactive chart creation using JavaScript in SAS Studio
- Traditional SAS/GRAPH procedure output using device drivers
Correct answer: ODS Statistical Graphics enabling automatic graphs from analytical procedures
ODS GRAPHICS ON activates the ODS Statistical Graphics facility, enabling procedures such as PROC REG, PROC GLM, and PROC SGPLOT to automatically produce high-quality graphs.
Question 25: What is the foundational principle of core concepts and principles in the Certified Statistical Analysis System Specialist field?
- Following the easiest path available
- Maximizing personal advancement
- Maintaining competence, integrity, and service to stakeholders (Correct answer)
- Avoiding all challenging situations
Correct answer: Maintaining competence, integrity, and service to stakeholders
The foundational principles of core concepts and principles in Certified Statistical Analysis System Specialist center on maintaining competence, integrity, and quality service.
Question 26: Which statement about SAS 'Specialist' and 'Professional' credentials is accurate?
- Specialist credentials expire when a Professional credential is earned
- They are identical credentials with different names
- Professional credentials typically build on skills validated at the Specialist level (Correct answer)
- Professional credentials require CE hours, Specialists do not
Correct answer: Professional credentials typically build on skills validated at the Specialist level
SAS credentials are tiered, with Professional-level credentials reflecting more advanced skills.
Question 27: Which three tests appear in PROC LOGISTIC's 'Testing Global Null Hypothesis: BETA=0' table?
- Likelihood Ratio, Score, Wald (Correct answer)
- AIC, SC, -2 Log L
- F, t, Chi-square
- Pearson, Deviance, Hosmer-Lemeshow
Correct answer: Likelihood Ratio, Score, Wald
Global significance is tested with the likelihood ratio, score, and Wald chi-square tests.
Question 28: How should professionals apply assessment and evaluation in daily practice?
- Only when being evaluated
- Consistently integrate best practices into every aspect of professional work (Correct answer)
- Follow standards only for complex tasks
- Apply principles selectively based on convenience
Correct answer: Consistently integrate best practices into every aspect of professional work
Consistent application of professional standards ensures quality outcomes and builds professional credibility.
Question 29: What is the purpose of a quality audit in quality assurance?
- To ensure all documents are in order.
- To review and improve the processes for achieving quality standards. (Correct answer)
- To evaluate the financial aspects of the product.
- To find defects in the product.
Correct answer: To review and improve the processes for achieving quality standards.
A quality audit evaluates the processes and procedures within a system to ensure compliance with the defined quality standards.
Question 30: Which annual SAS user event offers sessions, workshops, and networking useful for professional development?
- SAS Macro Fest
- SAS Innovate (formerly SAS Global Forum) (Correct answer)
- SAS PROC Week
- SAS Data Step Summit
Correct answer: SAS Innovate (formerly SAS Global Forum)
SAS Innovate, successor to SAS Global Forum, is SAS's flagship user conference.
Question 31: The TITLE statement in SAS defines text that:
- Persists across procedures until changed or cancelled with a null TITLE statement (Correct answer)
- Applies only to the immediately following procedure
- Applies only to ODS HTML and PDF destinations
- Can only be specified once per SAS program
Correct answer: Persists across procedures until changed or cancelled with a null TITLE statement
The TITLE statement persists across all subsequent procedures until it is redefined or cancelled by a null TITLE statement (TITLE;).
Question 32: In a confusion matrix, how is sensitivity calculated?
- TP / (TP + FP)
- TN / (TN + FP)
- TP / (TP + FN) (Correct answer)
- (TP + TN) / Total
Correct answer: TP / (TP + FN)
Sensitivity, the true positive rate, is the share of actual events that are correctly predicted.
Question 33: Which SAS procedure is specifically designed to create tabular summaries with automatic subtotals and grand totals?
- PROC REPORT
- PROC TABULATE (Correct answer)
- PROC PRINT
- PROC MEANS
Correct answer: PROC TABULATE
PROC TABULATE is designed to produce tables of descriptive statistics organized in rows and columns with automatic subtotals and grand totals.
Question 34: A certified analyst's credential badge shows an expiration date. What is the correct action?
- Create a new Credly account to reset it
- Report it to Pearson VUE as fraud
- Ignore it since SAS credentials never change
- Review SAS's current policy for that credential and complete any listed renewal step (Correct answer)
Correct answer: Review SAS's current policy for that credential and complete any listed renewal step
Credential terms are set per program, so the badge holder should follow SAS's current stated policy.
Question 35: How should professionals apply communication and documentation in daily practice?
- Follow standards only for complex tasks
- Consistently integrate best practices into every aspect of professional work (Correct answer)
- Apply principles selectively based on convenience
- Only when being evaluated
Correct answer: Consistently integrate best practices into every aspect of professional work
Consistent application of professional standards ensures quality outcomes and builds professional credibility.
Question 36: What is the primary focus of 'total quality management' (TQM)?
- Maximizing product output.
- Improving products only after customer complaints.
- Ensuring all employees are involved in process improvement and customer satisfaction. (Correct answer)
- Reducing the number of employees.
Correct answer: Ensuring all employees are involved in process improvement and customer satisfaction.
Total quality management focuses on long-term success through customer satisfaction, involving all employees in continuous improvements.
Question 37: Which practice best documents a SAS professional's ongoing learning for an employer review?
- Keeping a log of completed courses, badges, and conference sessions (Correct answer)
- Relying on SAS to send reports to employers
- Avoiding any record to protect privacy
- Listing only the original exam date
Correct answer: Keeping a log of completed courses, badges, and conference sessions
A personal learning log provides concrete evidence of continued development.
Question 38: What is the foundational principle of applied methods and techniques in the Certified Statistical Analysis System Specialist field?
- Maximizing personal advancement
- Avoiding all challenging situations
- Following the easiest path available
- Maintaining competence, integrity, and service to stakeholders (Correct answer)
Correct answer: Maintaining competence, integrity, and service to stakeholders
The foundational principles of applied methods and techniques in Certified Statistical Analysis System Specialist center on maintaining competence, integrity, and quality service.
Question 39: A certified SAS programmer wants to add AI and machine learning skills. Which path is most appropriate?
- Retake the same Base Programming exam
- Renew the badge with a payment
- Request a CE waiver from SAS
- Pursue an additional SAS credential in machine learning or Viya (Correct answer)
Correct answer: Pursue an additional SAS credential in machine learning or Viya
Stacking a specialized credential demonstrates new competencies beyond the original certification.
Question 40: The BREAK statement in PROC REPORT with the SUMMARIZE option inserts a row that:
- Defines a new computed variable for the group
- Suppresses all subtotals for the group
- Splits the report across multiple pages
- Contains summary statistics for the observations in each report group (Correct answer)
Correct answer: Contains summary statistics for the observations in each report group
The SUMMARIZE option in the BREAK statement inserts a summary row containing aggregate statistics for each group defined by a GROUP variable.
SAS Certified Specialist: Base Programming for SAS Viya
This exam certifies individuals in the foundational skills of SAS programming, including data manipulation, reporting, and error handling, using SAS Viya.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds
These practice questions were written with AI tools. They are not real exam questions. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- sas.com — Eligibility, retake fee, retake policy, test delivery, exam format, passing score, time limit · verified Oct 2026
- pearsonvue.com — Test delivery, score release · verified Oct 2026