Labour Day - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

Note! The A00-212 Exam is no longer available.

A00-212 SAS Advanced Programming Questions and Answers

Questions 4

The SAS data set WORK.CHECK has a variable named Id_Code in it. Which SQL statement would create an index on this variable?

Options:

A.

Define index (Id_Code) in WORK.CHECK;

B.

Create index (Id_Code) on WORK.CHECK;

C.

Make index = Id_Code from WORK.CHECK;

D.

Create index Id_Code on WORK.CHECK;

Buy Now
Questions 5

The following SAS program is submitted:

A00-212 Question 5

How will the variable be listed?

Options:

A.

Height Weight Name Age

B.

Weight Height

C.

Weight Height Name Age

D.

Name Age Weight Height

Buy Now
Questions 6

The following SAS program is submitted:

data temp;

array points{2,3} (10,15,20,25,30,35);

run;

What impact does the ARRAY statement have in the Program Data Vector(PDV)?

Options:

A.

No variable are created in the PDV

B.

The variables named POINTS10, POINTS15, POINTS20, POINTS25, POINTS30,

POINTS35 are created in the PDV

C.

The variables named POINTS1, POINTS2, POINTS3 POINTS4, POINTS5,

POINTS6 are created in the PDV

D.

The variables named POINTS11, POINTS12, POINTS21, POINTS22, POINTS23 are created in the PDV

Buy Now
Questions 7

Given the following scenario:

  • The SAS libraries LIBRARY and MYLIB are successfully defined in your current SAS session.
  • There is a SAS Data Set named WORK.GENDERS with a column called MF containing single character values.

The SAS program on the left is submitted and the desired output is shown in the right.

A00-212 Question 7

Which statement is true?

Options:

A.

The statement OPTIONS FMTSEARCH = (Mylib Library); is required before the PRINT procedure to attain the resulting output

B.

The statement OPTIONS FMSEARCH = (Library Mylib); is required before the PRINT procedure to attain the resulting output

C.

No OPTIONS FMSEARCH ( ) statement is needed to attain resulting output

D.

The statement OPTIONS FMSEARCH = (Mylib); is required before the print procedure to attain the resulting output

Buy Now
Questions 8

Which SAS integrity constraint type ensures that a specific set or range of values are the only values in a variable?

Options:

A.

CHECK

B.

NOT NULL

C.

PRIMARY KEY

D.

UNIQUE

Buy Now
Questions 9

Which DICTIONARY table provides information on all the tables containing a variable named LASTNAME?

Options:

A.

DICTIONARY.COLUMNS

B.

DICTIONARY.VARIABLES

C.

DICTIONARY.MEMBERS

D.

DICTIONARY.TABLES

Buy Now
Questions 10

Given the data sets:

A00-212 Question 10

The following SAS program is submitted:

A00-212 Question 10

Which result set would be generated?

Options:

A.

100

B.

200

C.

300

D.

400

Buy Now
Questions 11

Which one of the following should be avoided when creating and using an SQL procedure view?

Options:

A.

using a HAVING clause

B.

using summary functions

C.

referencing a view multiple times in the same program

D.

creating views on tables whose structures remain constant

Buy Now
Questions 12

Which SAS procedure changes the name of a permanent format for a variable stored in a

SAS data set?

Options:

A.

DATASETS

B.

MODIFY

C.

FORMAT

D.

REGISTRY

Buy Now
Questions 13

The following SAS program is submitted:

options reuse=YES;

data sasuser RealEstate(compress=CHAR);

set sasuser houses;

run;

What is the effect of the REUSE=YES SAS system option?

Options:

A.

It tracks and recycles free space

B.

It allows a permanently stored SAS data set to be replaced

C.

It allows users to access the same SAS data set concurrently

D.

It allows updates in place

Buy Now
Questions 14

Given the data set SASHELP.CLASS

SASHELP.CLASS

NAME AGE

Mary 15

Philip 16

Robert 12

Ronald 15

The following SAS program is submitted

%let value = Philip;

proc print data =sashelp.class;

run;

Which WHERE statement successfully completes the program and produces a report?

Options:

A.

Where upcase(name)="upcase(&value)";

B.

Where upcase(name)="%upcase(&value)";

C.

Where upcase(name)=upcase(&value);

D.

Where upcase(name)=%upcase(&value);

Buy Now
Questions 15

The following SAS program is submitted:

A00-212 Question 15

What is written to the SAS log?

Options:

A.

&Name2

B.

MATH3

C.

WARNING: Apparent symbolic reference ROOT2 not resolved

D.

MATH1

Buy Now
Questions 16

Which one of the following automatic SAS macro variables contains the return code from a previously executed step?

Options:

A.

&RC

B.

&ERR

C.

&SYSRC

D.

&SYSERR

Buy Now
Questions 17

Which one of the following programs contains a syntax error?

Options:

A.

proc sql;

select product.*, cost.unitcost, sales.quantity

from product p, cost c, sales s

where p.item = c.item and

B.

item = s.item;

quit;

C.

proc sql;

select product.*, cost.unitcost, sales.quantity

from product, cost, sales

where product.item = cost.item and

product.item = sales.item;

quit;

D.

proc sql;

select p.*, c.unitcost, s.quantity

from product as p, cost as c, sales as s

where p.item = c.item and

E.

item = s.item;

quit;

F.

proc sql;

select p.*, c.unitcost, s.quantity

from product, cost, sales

where product.item = cost.item and

product.item = sales.item;

quit;

Buy Now
Questions 18

The SAS data set ONE has a variable X on which an index has been created. The data sets ONE and THREE are sorted by X.

Which one of the following SAS programs uses the index to select observations from the data set ONE?

Options:

A.

data two;

set three;

set one key = X;

run;

B.

data two;

set three key = X;

set one;

run;

C.

data two;

set one;

set three key = X;

run;

D.

data two;

set three;

set one (key = X);

run;

Buy Now
Questions 19

The following SAS program is submitted:

data temp;

array points{2,3}_temporary_;

run;

Which one of the following is the maximum number of elements that are stored?

Options:

A.

2

B.

3

C.

5

D.

6

Buy Now
Questions 20

Given the SAS data set WORK TRANSACT:

A00-212 Question 20

The following output is desired:

A00-212 Question 20

Which SQL statement was used?

A00-212 Question 20

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 21

The DICTIONARY.MACROS table stores information about which of the following?

Options:

A.

user defined macro variables only

B.

system defined macro variables only

C.

both user and system defined macro variables

D.

macros stored in the autocall macro library only

Buy Now
Questions 22

The following SAS program is submitted:

%let lib=%upcase(sauser); proc sql;

select nvar form dictionary.tables where libname='&lib"; quit;

Several SAS data sets exist in the SAUSER library.

What is generated as output?

Options:

A.

A report showing the names of the columns in each table in SASUSER

B.

A report showing the number of columns in each table in SASUSER

C.

A report showing the numeric columns in each table in SASUSER

D.

A report showing the number of numeric columns in each table in SASUSER

Buy Now
Questions 23

Given the data set SASHELP.CLASS:

SASHELP.CLASS

NAME AGE

Mary 15

Philip 16

Robert 12

Ronald 15

The following SAS program is submitted:

%let value = Philip;

proc print data = sashelp.class;

run;

Which WHERE statement successfully completes the program and procedures a report?

Options:

A.

Where upcase(name)=%upcase(&value);

B.

Where upcase(name)="upcase(&value)";

C.

Where upcase(name)=upcase(&value);

D.

Where upcase(name)="%upcase(&value)";

Buy Now
Questions 24

Given the SAS data sets shown on the left, the SAS program on the right is submitted.

A00-212 Question 24

What will be the result when this program is executed?

A00-212 Question 24

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 25

Given the following SAS statement:

%let idcode = Prod567;

Which one of the following statements stores the value 567 in the macro variable CODENUM?

Options:

A.

%let codenum = substr(&idcode,length(&idcode)-2);

B.

%let codenum = substr(&idcode,length(&idcode)-3);

C.

%let codenum = %substr(&idcode,%length(&idcode)-2);

D.

%let codenum = %substr(&idcode,%length(&idcode)-3);

Buy Now
Questions 26

Which one of the following SAS programs displays the descriptor portion of each data set stored in the SASUSER library?

Options:

A.

proc datasets lib = sasuser.all;

quit;

B.

proc datasets lib = sasuser._all_;

quit;

C.

proc datasets lib = sasuser;

contents data = all;

quit;

D.

proc datasets lib = sasuser;

contents data = _all_;

quit;

Buy Now
Questions 27

Which one of the following is an advantage of creating and using a SAS DATA step view?

Options:

A.

It can store an index.

B.

It always accesses the most current data.

C.

It works quickly through multiple passes of the data.

D.

It is useful when the underlying data file structure changes.

Buy Now
Exam Code: A00-212
Exam Name: SAS Advanced Programming
Last Update: Nov 27, 2023
Questions: 184
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 05 May 2024