SAS Institute A00-420 Practice Exams
Last updated on Oct 21,2026- Exam Code: A00-420
- Exam Name: SAS Viya Intermediate Programming
- Certification Provider: SAS Institute
- Latest update: Oct 21,2026
Which CAS action is used to generate a random sample from a CAS table?
- A . cas.sample
- B . cas.fetch
- C . cas.random
- D . cas.select
Which CAS action is used to recode the values of a categorical variable in a CAS table?
- A . cas.remap
- B . cas.modify
- C . cas.recode
- D . cas.transform
Which action loads the cars.csv file from the casuser caslib into memory?
- A . table.loadTable / caslib="casuser" , path="cars.csv";
- B . table.loadTable / table={caslib="casuser", path="cars.csv"};
- C . table.upload / caslib="casuser" , path="cars.csv";
- D . table.upload / table={caslib="casuser", path="cars.csv"};
Given the following SAS program:
proc mdsummary data=casuser.orders;
var RetailPrice;
output out=casuser.orders_sum;
run;
Which CAS action produces the same result as the code above without ERROR if you run it twice?
- A . proc cas;
simple.summary /
table={name="orders", caslib="casuser"},
input={"RetailPrice"},
casOut={name=’orders_sum’};
quit; - B . proc cas;
simple.mdsummary /
table={name="orders", caslib="casuser"},
input={"RetailPrice"},
casOut={name=’orders_sum’, replace=true};
quit; - C . proc cas;
simple.summary /
table={name="orders", caslib="casuser"},
input={"RetailPrice"},
casOut={name=’orders_sum’, replace=true};
quit; - D . proc cas;
md.summary /
table={name="orders", caslib="casuser"},
input={"RetailPrice"},
casOut={name=’orders_sum’};
quit;
Which CASL program correctly runs two DATA step programs that are stored in separate source blocks named Program1 and Program2?
- A . proc cas;
dataStep.RunCode /
code=("Program1", "Program2");
quit; - B . proc cas;
dataStep.RunCode / code=Program1;
dataStep.RunCode / code=Program2;
quit; - C . proc cas;
dataStep.RunCode /
code=source(Program1, Program2);
quit; - D . proc cas;
dataStep.RunCode /
code=source(Program1, Program2);
quit;
Which CAS action is used to perform a cross-tabulation of two categorical variables in a CAS table?
- A . cas.tabulate
- B . cas.crosstab
- C . cas.pivot
- D . cas.summary
Which statement will display column name, type, label and format information for the clientes table in the casuser caslib?
- A . table.tableInfo /
table={caslib="casuser", name="clientes"}; - B . table.columnInfo /
table={caslib="casuser", name="clientes"}; - C . table.tableInfo /
caslib="casuser",
name="clientes"; - D . table.columnInfo /
caslib="casuser",
name="clientes";
Which Compute Server system option prevents inadvertently moving large in-memory tables to the Compute Server?
- A . MAXDATA=
- B . CASDATALIMIT=
- C . NOCOMPUTE
- D . MAXOBS=
The following SAS program is submitted:
![]()
What is the output to the log?
- A . A syntax error
- B . A list of CAS sessions associated with the current user
- C . A list of all active CAS sessions for all users
- D . A NOTE with information about the new CAS session listsessions
Which CAS-enabled procedure is used for frequency analysis and cross-tabulations?
- A . PROC MEANS
- B . PROC SQL
- C . PROC FREQ
- D . PROC GLM