SAS Institute A00-420 Practice Exams
Last updated on Oct 22,2026- Exam Code: A00-420
- Exam Name: SAS Viya Intermediate Programming
- Certification Provider: SAS Institute
- Latest update: Oct 22,2026
Question #21
Which CASL program correctly adds the Sales caslib to access data in the /data/sales folder?
- A . proc cas;
table.addCaslib /
name="sales",
path="/data/sales";
run; - B . proc cas;
table.addCaslib /
name="sales",
dataSource={srctype="path"},
path="sales";
run; - C . proc cas;
table.addCaslib /
name="/data/sales",
dataSource={srctype="path"};
run; - D . proc cas;
table.addCaslib,
name="/data/sales",
path="/data/sales";
run;
Correct Answer: A
Question #22
How can you associate a user-defined format with a variable in SAS?
- A . Using the FORMAT statement in the DATA step
- B . Using the WHERE statement in PROC SQL
- C . Using the BY statement in PROC FORMAT
- D . Using the LABEL statement in PROC FORMAT
Correct Answer: A
Question #23
What is the syntax for submitting a SAS Viya program in SAS Studio?
- A . RUN;
- B . EXECUTE;
- C . SUBMIT;
- D . PROCESS;
Correct Answer: C
Question #24
Which SAS component enables CAS-enabled procedures?
- A . SAS Studio
- B . SAS Data Preparation
- C . SAS Visual Analytics
- D . SAS Cloud Analytic Services (CAS)
Correct Answer: D
Question #25
Which CAS-enabled procedure is used for descriptive statistics and data summarization?
- A . PROC MEANS
- B . PROC SQL
- C . PROC FREQ
- D . PROC GLM
Correct Answer: A
Question #26
What data types does FedSQL support in CAS?
- A . BIGINT, CHAR(n), DATE, DOUBLE, DECIMAL, VARBINARY
- B . CHAR(n), DOUBLE, VARCHAR(n), TIMESTAMP, DATE, TIME
- C . INT64, CHAR(n), DOUBLE, INT32, VARCHAR(n), FLOAT
- D . INT64, CHAR(n), DOUBLE, INT32, VARBINARY, VARCHAR(n)
Correct Answer: D
Question #27
Which data format should be used when saving a CAS table so that it will later load into CAS memory the fastest?
- A . sashdat
- B . sas7bdat
- C . csv
- D . txt
Correct Answer: A
Question #28
Which CAS-enabled procedure is used to import data into a CAS table?
- A . CASLIB
- B . CASIMPORT
- C . CASDATA
- D . CASTABLE
Correct Answer: B
Question #29
Which CAS-enabled procedure is used for regression analysis and modeling?
- A . PROC MEANS
- B . PROC SQL
- C . PROC FREQ
- D . PROC GLM
Correct Answer: D
Question #30
Which SAS Viya procedure is used for data exploration and analysis?
- A . PROC SQL
- B . PROC MEANS
- C . PROC FREQ
- D . PROC GLM
Correct Answer: C