SASInstitute SAS Viya Fundamentals of Programming (A00-415) Free Practice Test
Question 1
In SAS Viya, what is the purpose of the DATA step?
Correct Answer: A
Question 2
Which CAS-enabled procedure is used to apply user-defined formats to variables?
Correct Answer: B
Question 3
What is the purpose of the GROUP BY clause in SQL programming?
Correct Answer: A
Question 4
Which CAS action is used to create a new variable in a CAS table based on a conditional expression?
Correct Answer: D
Question 5
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?
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?
Correct Answer: C
Question 6
Which statement is true regarding BY group processing in the CAS DATA step?
Correct Answer: B
Question 7
What is the purpose of applying a user-defined format to a variable in SAS?
Correct Answer: B
Question 8
Which statement about the CASL language is true?
Correct Answer: A
Question 9
Which CAS action is used to delete a CASLIB?
Correct Answer: A
Question 10
Which PROC CASUTIL step suppresses error messages if the table is not found in-memory?


Correct Answer: C
Question 11
Given the following CASL program:
proc cas;
table.tableInfo result=res / caslib="casuser";
do row over res.tableInfo;
print row;
end;
run;
quit;
Which statement best describes the variable row in the above program?
proc cas;
table.tableInfo result=res / caslib="casuser";
do row over res.tableInfo;
print row;
end;
run;
quit;
Which statement best describes the variable row in the above program?
Correct Answer: A
Question 12
Which CAS action is used to compute the frequency distribution of a categorical variable in a CAS table?
Correct Answer: C