SAS Institute A00-415 Practice Exams
Last updated on Oct 22,2026- Exam Code: A00-415
- Exam Name: SAS Viya Fundamentals of Programming
- Certification Provider: SAS Institute
- Latest update: Oct 22,2026
Which CAS action is used to calculate the correlation matrix for numeric variables in a CAS table?
- A . cas.correlation
- B . cas.covariance
- C . cas.relationship
- D . cas.association
Which SAS function is used to concatenate character variables?
- A . LENGTH
- B . CAT
- C . CONCAT
- D . CATS
Given that this program:
simple.numRows /
table={caslib="casuser",name="cars"};
produces this output in the Log:
{numrows=428}
Which program produces the following output in the Log?
Table casuser.cars has 428 rows.
- A . simple.numRows results=x/
table={caslib="casuser", name="cars"};
print "Table casuser.cars has " x[numrows] "rows."; - B . simple.numRows results=x/
table={caslib="casuser", name="cars"};
print "Table casuser.cars has " numrows[x] "rows."; - C . simple.numRows result=x/
table={caslib="casuser", name="cars"};
print "Table casuser.cars has " numrows.x "rows."; - D . simple.numRows result=x/
table={caslib="casuser", name="cars"};
print "Table casuser.cars has " x.numrows "rows.";
Which CASL program will create the sample2 table in the casuser caslib?
- A . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class;
by age;
if first.age then y=age;
run;
";
quit; - B . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class(firstobs=3);
run;
";
quit; - C . proc cas;
datastep.runCode result=r/
code="
data casuser.sample1;
set casuser.class;
y=1;
run;
data casuser.sample2;
set casuser.class;
y=2;
run;
";
quit; - D . proc cas;
datastep.runCode result=r/
code="
data casuser.sample2;
set casuser.class;
y=ranuni(123)*100;
run;
";
run;
Given the CAS table casuser.shoes and the following SAS program:
data casuser.shoes2(where=(region="Africa" and Product="Slipper"));
set casuser.shoes;
keep Region Product Sales;
run;
Which statement is true?
- A . The DATA step runs on the Compute Server.
- B . The DATA step runs in CAS.
- C . The DATA step runs in CAS, but the WHERE= data set option is ignored.
- D . The DATA step produces an error.
In SAS Viya, what is the purpose of the LIBNAME statement?
- A . To create a new library
- B . To import external data
- C . To assign a library reference
- D . To delete a library
Which CAS action is used to perform data transformations, such as creating new variables or modifying existing variables?
- A . COMPUTE
- B . TRANSFORM
- C . MODIFY
- D . ALTER
Which CAS action is used to create a new CASLIB?
- A . CASLIB
- B . LOAD
- C . EXPORT
- D . ALTER TABLE
What is a CAS table in CAS?
- A . A logical representation of data stored in a CASLIB
- B . A temporary storage location for intermediate results
- C . A CAS action for data visualization
- D . A CAS function for data transformation
Which CAS action is used to calculate the sum, minimum, maximum, and mean for numeric variables in a CAS table?
- A . cas.aggregate
- B . cas.statistics
- C . cas.summarize
- D . cas.describe