0% found this document useful (0 votes)
41 views13 pages

A00-420 Exam Dumps - SAS Viya Intermediate Programming

A00-420 Exam Dumps - SAS Viya Intermediate Programming

Uploaded by

timblin843
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views13 pages

A00-420 Exam Dumps - SAS Viya Intermediate Programming

A00-420 Exam Dumps - SAS Viya Intermediate Programming

Uploaded by

timblin843
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

A00-420

Exam Name: SAS Viya Intermediate Programming

Full version: 254 Q&As

Full version of A00-420 Dumps

Share some A00-420 exam dumps below.

1. Which CAS-enabled procedure is used to perform text mining on CAS tables?


A. CASTEXT
B. CASTEXTMINE
C. CASTEXTPROC
D. CASTEXTSUMMARY
Answer: B

2. Which CAS action is used to merge two or more CAS tables based on common variables?
A. MERGE
B. LOAD
C. EXPORT
D. ALTER TABLE
Answer: A

3. Which CAS-enabled procedure is used to perform market basket analysis?


A. CASMINER
B. CASPROC
C. CASASSOC
D. CASSTAT
Answer: C

4. Which CAS action is used to load data into the CAS environment?
A. LOAD
B. IMPORT
C. READ
D. INPUT
Answer: A

5. 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?
A. proc casutil;
load data=work.orders casout="orders" outcaslib="public";
format region regnm.;
quit;
B. proc casutil;
load data=work.orders casout="orders" outcaslib="public"
format=yes;
format region regnm.;
quit;
C. proc casutil;
format region regnm.;
load data=work.orders casout="orders" outcaslib="public"
format=yes;
quit;
D. proc casutil;
format region regnm.;
load data=work.orders casout="orders" outcaslib="public";
quit;
Answer: D

6. 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
Answer: C

7. How can you associate a user-defined format with a variable in SAS?


A. Using the FORMAT statement in the DATA step
B. Using the WHERE statement in PROC SQL
C. Using the BY statement in PROC FORMAT
D. Using the LABEL statement in PROC FORMAT
Answer: A

8. Which CAS object is used to store and manage data?


A. CASLIB
B. CASDATA
C. CASTABLE
D. CASSET
Answer: B

9. Which program will successfully load cars.csv from the casuser caslib data source to an in-
memory table named cars?
A. proc cas;
table.loadTable /
caslib="casuser"
path="cars.csv"
casout={caslib="casuser", name="cars"};
quit;
B. proc cas;
table.loadTable /
incaslib="casuser"
casdata="cars.csv"
outcaslib="casuser"
casout="cars";
quit;
C. proc cas;
table.loadTable /
incaslib="casuser"
casdata="/home/&sysuserid/casuser/cars.csv"
outcaslib="casuser"
casout="cars";
quit;
D. proc cas;
table.loadTable /
caslib="casuser"
path="/home/&sysuserid/casuser/cars.csv"
casout={caslib="casuser", name="cars"};
quit;
Answer: A

10. 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";
Answer: B

11. Which statement is true about the CAS server?


A. Any SAS program can run on the CAS server.
B. A CAS session is required to work with the CAS server.
C. An action set performs a single task on the CAS server.
D. A DATA Step always runs faster on the CAS server.
Answer: B

12. Which CAS action is used to retrieve a subset of rows and columns from a CAS table?
A. cas.fetch
B. cas.sample
C. cas.filter
D. cas.select
Answer: A

13. 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.";
Answer: D
14. 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

15. Which CAS action is used to create a new CAS table by concatenating two or more existing
CAS tables?
A. cas.join
B. cas.concat
C. cas.combine
D. cas.merge
Answer: B

16. 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
Answer: A

17. In the space provided, enter the text for ensuring the table is available to any subsequent
CAS session.
table.loadTable / caslib="public", path="sales.xlsx",
casOut={caslib="public", name="sales",______=true};
Answer: promote

18. Which CAS statement is used to create a new column in a CAS table?
A. CASSET
B. CASCOMPUTE
C. CASTABLE
D. CASWHERE
Answer: B
19. Using the altertable action, which is the correct statement to rename the make column to
veh_make in a CAS table?
proc cas;
table.altertable /
caslib="casuser", name="cars",
<enter code
segment here>;
quit;
A. columns={name="make" = "veh_make"};
B. columns=[[name="make" , rename="veh_make"]];
C. columns={{rename="make" , name="veh_make"}};
D. columns={{name="make" , rename="veh_make"}};
Answer: D

20. Which CAS action is used to create a new CAS table based on specified conditions?
A. FILTER
B. SELECT
C. WHERE
D. SUBSET
Answer: C

21. What is the primary advantage of using CAS language programming in SAS?
A. Faster data processing
B. Improved visualization capabilities
C. Easier data exploration
D. Advanced statistical modeling techniques
Answer: A

22. Which PROC CASUTIL step suppresses error messages if the table is not found in-
memory?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A

23. What CASL data type is created from the following assignment statement?
half = 1/2;
A. INT32
B. INT64
C. DOUBLE
D. DECIMAL
Answer: C

24. What is the file extension used for SAS Viya programs?
A. sas
B. py
C. sql
D. viya
Answer: A

25. Which statement is true about the Compute Server?


A. It processes programs written in SAS, Python, Java, and other open source client languages.
B. It generally outperforms the CAS server for data sources that are larger than 50 Gigabytes.
C. It processes distributed data in multiple threads.
D. It supports the creation and execution of Macro programs.
Answer: D

26. Which CAS action is used to append rows to an existing CAS table?
A. APPEND
B. LOAD
C. EXPORT
D. ALTER TABLE
Answer: A

27. What is a user-defined format in SAS?


A. A format that is created and stored by the user
B. A format that is predefined by SAS
C. A format that is specific to CAS-enabled procedures
D. A format that is used for data visualization
Answer: A

28. 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

29. Which CAS action is used to import data into CAS?


A. CASLIB
B. LOAD
C. EXPORT
D. ALTER TABLE
Answer: B

30. What is the primary programming language used in SAS Viya?


A. SAS
B. R
C. Python
D. Java
Answer: A

31. When submitted, this program runs normally on the Compute Server and produces a cross-
tab report:
proc freq data=casuser.cars;
by descending origin;
table type*make / nocol
norow nopercent;
run;
What happens when this program is submitted instead?
proc freqtab data=casuser.cars;
by descending origin;
table type*make / nocol
norow nopercent;
run;
A. The program runs normally on the Compute Server and produces a cross-tab report.
B. The program runs normally on the CAS server and produces a cross-tab report.
C. The program produces an error indicating the DESCENDING option is not supported in the
BY statement.
D. The program produces an error indicating the NOPERCENT option is not supported in the
TABLE statement.
Answer: C

32. Which statement will show all available caslibs in the log?
A. caslib listall;
B. caslib all list;
C. caslib list;
D. caslib _all_ list;
Answer: D

33. What is the primary advantage of using CAS-enabled procedures in SAS?


A. Faster processing of large datasets
B. Better visualization capabilities
C. Easier data preparation
D. Enhanced modeling techniques
Answer: A

34. Complete the following FedSQL code to convert the character variable markup to a numeric
variable.
proc cas;
session mysess;
fedSql.execDirect /
query="create table casuser.cars_fedsql {options replace=true} as
select make, model, mpg_city, mpg_highway, <insert code segment here> as
markup_N
from casuser.cars";
run;
A. put(markup,'best12.')
B. inputn(markup,'best12.')
C. cast(markup,'best12.')
D. input(markup,'best12.')
Answer: B

35. 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

36. Which CAS action is used to execute a DATA step program in SAS CAS?
A. DATA
B. RUN
C. SUBMIT
D. EXECUTE
Answer: C

37. Which CAS-enabled procedure is used to perform factor analysis on CAS tables?
A. CASFACTOR
B. CASANALYZE
C. CASSCORE
D. CASPROC
Answer: A

38. Which CAS action is used to execute SQL queries in SAS CAS?
A. SQL
B. RUN
C. SUBMIT
D. EXECUTE
Answer: A

39. What is a CASLIB in CAS?


A. A CAS action for data cleaning
B. A CAS function for statistical analysis
C. A CAS library for data storage and access
D. A CAS procedure for data summarization
Answer: C
More Hot Exams are available.

350-401 ENCOR Exam Dumps

350-801 CLCOR Exam Dumps

200-301 CCNA Exam Dumps

Powered by TCPDF (www.tcpdf.org)

You might also like