SAS Advanced Programming for SAS 9

Here you have the best SAS Institute A00-212 practice exam questions

  • You have 184 total questions to study from
  • Each page has 5 questions, making a total of 37 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on October 6, 2025
  • This site is not affiliated with or endorsed by SAS Institute.
Question 1 of 184
The following SAS program is submitted:
Data sasuser.history;
Set sasuser.history(keep=state x y
Rename = (state=ST));
Total=sum(x, y);
Run;
The SAS data set SASUSER.HISTORY has an index on the variable STATE.
Which describes the result of submitting the SAS program?
    Correct Answer: C

Question 2 of 184
The following SAS program is submitted:
%macro one (input);
%two;
%put the value is &date;
%mend;
%macro two;
data _null_;
call symput('date','12SEP2008');
run;
%mend;
%let date=31DEC2006;
%one(&date)
What is the result when the %PUT statement executes?
    Correct Answer: C

Question 3 of 184
Which SET statements option names a variable that contains the number of the observation to read during the current iteration of the DATA step?
    Correct Answer: B

Question 4 of 184
When reading a SAS data file, what does the NOBS=option on the SET statement represent?
    Correct Answer: C

Question 5 of 184
CORRECT TEXT -
The following SAS program is submitted:
%macro check(num=4);
%let result=%sysevalf(&num+0.5);
%put result is &result;
%mend;
%check(num=10)
What is the written to the SAS log?
    Correct Answer: C