SASInstitute SAS Viya Intermediate Programming (A00-420) Free Practice Test
Question 1
Assume all caslib names follow libref naming conventions.
Which code assigns librefs of the same name to each caslib?
Which code assigns librefs of the same name to each caslib?
Correct Answer: B
Question 2
Which CAS action is used to perform aggregations and summary statistics in the DATA step?
Correct Answer: B
Question 3
Which CAS-enabled procedure is used to perform factor analysis on CAS tables?
Correct Answer: A
Question 4
Which CAS action is used to compute the frequency count of unique values in a column of a CAS table?
Correct Answer: A
Question 5
Which CAS object is used to store and manage data?
Correct Answer: B
Question 6
Which statement is used to apply a user-defined format within a PROC SQL query?
Correct Answer: D
Question 7
The regnm format has been created and stored in an CAS format library.
Which program associates the format regnm with the region column in the orders table?
Which program associates the format regnm with the region column in the orders table?
Correct Answer: C
Question 8
What is the purpose of the SET action in CAS language programming?
Correct Answer: D
Question 9
Which PROC TRANSPOSE step will execute entirely in CAS?
Correct Answer: D
Question 10
What data types does FedSQL support in CAS?
Correct Answer: C
Question 11
In which situation is it best to leverage the CAS server?
Correct Answer: C
Question 12
Which statement will display column name, type, label and format information for the clientes table in the casuser caslib?
Correct Answer: C
Question 13
Complete the code below to create an in-memory table named cars_cas in the casuser caslib.
proc casutil;
load data=sashelp.cars outcaslib="casuser" casout=__________;
run;
proc casutil;
load data=sashelp.cars outcaslib="casuser" casout=__________;
run;
Correct Answer:
"cars_cas"
Question 14
How can you associate a user-defined format with a variable in SAS?
Correct Answer: A