A00-415 Exam Dumps - SAS Viya Fundamentals of Programming
A00-415 Exam Dumps - SAS Viya Fundamentals of Programming
2. Which DATA step statement is used to conditionally assign values to variables based on
specified conditions?
A. IF-THEN statement
B. DROP statement
C. RENAME statement
D. LENGTH statement
Answer: A
3. Which CAS action is used to calculate the standard deviation, variance, and range for
numeric variables in a CAS table?
A. cas.stddev
B. cas.variance
C. cas.range
D. cas.statistics
Answer: D
4. Which CAS action is used to load data from an external file into a CAS table?
A. cas.load
B. cas.fetch
C. cas.upload
D. cas.import
Answer: D
10. Complete the CASL statement below to save the result stored in r to a SAS data set named
class in the mylib library.
saveresult r _________ =mylib.class;
Answer: Dataout
13. You want to use the MEANS procedure to summarize data using the CAS server.
Which statement is true?
A. Statistics that are supported by PROC MEANS are also supported on the CAS server.
B. You must specify a CAS engine libref with the input table name.
C. You must sort the data before using BY-group processing on the CAS server.
D. All PROC MEANS statements are supported for CAS processing.
Answer: B
14. What CASL data type is created from the following assignment statement?
half = 1/2;
A. INT32
B. INT64
C. DOUBLE
D. DECIMAL
Answer: C
18. Which CAS-enabled procedure is used to perform data manipulation operations like filtering
and transforming data?
A. CASDATA
B. CASLIB
C. CASUTIL
D. CASDATAPARTITION
Answer: C
19. Which CAS-enabled procedure is used for data exploration and visualization?
A. PROC MEANS
B. PROC SQL
C. PROC FREQ
D. PROC SGPLOT
Answer: D
20. Which SAS Viya component is responsible for executing CAS-enabled procedures?
A. CAS server
B. SAS Studio
C. SAS Metadata Server
D. SAS Data Connector
Answer: A
21. Which CAS-enabled procedure is used to perform time series analysis on CAS tables?
A. CASTIME
B. CASTIMESERIES
C. CASTIMEMINE
D. CASTIMEPROC
Answer: B
22. What is the purpose of the WHERE clause in CAS language programming?
A. To filter rows based on specified conditions
B. To define the input data source
C. To specify the output variables
D. To join multiple tables together
Answer: A
23. Which PROC CASUTIL statement will save the in-memory table cars in the casuser caslib
to a SAS data set named cars?in the public caslib?
A. savedata caslib='casuser' casdata='cars' dataout='cars.sas7bdat' outcaslib='public';
B. save incaslib='casuser' casdata='cars' casout='cars.sas7bdat' outcaslib='public';
C. savedata incaslib='casuser' casdata='cars' casout='cars.sas7bat' library='public';
D. save caslib='casuser' casdata='cars' out='public.cars';
Answer: B
24. Which CAS action is used to convert a character variable to a numeric variable in a CAS
table?
A. cas.convert
B. cas.cast
C. cas.change
D. cas.transform
Answer: B
25. Which SAS program will list tables contained in caslib public?
A. proc casutil;
list tables caslib="public";
quit;
B. proc casutil;
list caslib="public";
quit;
C. proc casutil caslib="public";
contents;
quit;
D. proc casutil incaslib="public";
list tables;
quit;
Answer: D
26. 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
Answer: A
28. What is the purpose of the EXECUTE action in CAS language programming?
A. To execute a series of CAS actions
B. To execute a SQL query
C. To execute a DATA step program
D. To execute a macro program
Answer: A
29. Which CAS action is used to perform data quality checks on variables in a CAS table?
A. cas.validate
B. cas.check
C. cas.verify
D. cas.quality
Answer: A
31. What is the primary purpose of using the DATA step in CAS programming?
A. Creating plots and graphs
B. Importing and exporting data
C. Performing complex statistical analyses
D. Transforming and manipulating data
Answer: D
32. Which CAS action is used to calculate the total count, distinct count, and missing count for
variables in a CAS table?
A. cas.count
B. cas.unique
C. cas.missing
D. cas.summary
Answer: A
33. Which CAS-enabled procedure is used to perform text mining on CAS tables?
A. CASTEXT
B. CASTEXTMINE
C. CASTEXTPROC
D. CASTEXTSUMMARY
Answer: B
34. When specified on the PROC SUMMARY statement, which statistic causes processing to
occur on the Compute Server?
A. MIN
B. MEAN
C. SKEW
D. STD
Answer: C
37. In PROC CASUTIL, what does the LOAD FILE= statement do?
A. It loads files from a file path on the CAS server to a CAS table.
B. It loads a file from a file location on the Compute Server to the CAS controller file system.
C. It loads a file from a file path on the Compute Server to a CAS table.
D. It loads the data from a CAS table to a file on the Compute Server.
Answer: C
38. In the deduplication.deduplicate action, which parameter eliminates rows with duplicate
group-by variable values?
A. noUniqueKeys
B. noDuplicateKeys
C. groupBy
D. uniqueOut
Answer: B