Vous êtes sur la page 1sur 12

Sample Questions

The following examples of multiple choice questions have been provided to illust
rate some of the various types of questions that may appear on the SAS Global Ce
rtification Program exams.
Please note: These examples are not inclusive and do not necessarily represent a
ll of the types of questions that comprise the exams. The questions below are no
t designed to assess an individual's readiness to take a certification exam.
* SAS Base Programming for SAS 9
* SAS Advanced Programming for SAS 9
* Predictive Modeling Using SAS Enterprise Miner 5 Exam
* SAS Platform Administration for SAS 9
* SAS Data Integration Developer for SAS 9
* SAS BI Content Developer for SAS 9

SAS Base Programming for SAS 9


Item 1
The following program is submitted.
data test;
input name $ age;
cards;
John +35
;
run;
Which values are stored in the output data set?
1.
name age
---------------------
John 35
2.
name age
---------------------
John (missing value)
3.
name age
---------------------
(missing value) (missing value)
4. The DATA step fails execution due to data errors.
correct_answer = "A"
Item 2
The following observation is stored in a SAS data set named EMPLOYEES:
LNAME FNAME JOBCODE
---------------------------------
Whitley Sam na1
If the DATA step below is executed, what will be the value of the variable JOBDE
SC in the output SAS data set when this observation is processed:
data navigate;
set employees;
if jobcode = 'NA1' then jobdesc = 'Navigator';
run;
1. navigator
2. Navigator
3. NAVIGATOR
4. a missing value
correct_answer = "D"
Item 3
The following SAS program is submitted:

proc format;
value score 1 - 50 = 'Fail'
51 - 100 = 'Pass';
run;
Which one of the following PRINT procedure steps correctly applies the format?
1.
proc print data = sasuser.class;
var test;
format test score;
run;
2.
proc print data = sasuser.class;
var test;
format test score.;
run;
3.
proc print data = sasuser.class format = score;
var test;
run;
4.
proc print data = sasuser.class format = score.;
var test;
run;
correct_answer = "B"
Item 4
Given the following DATA step:
data loop;
x = 0;
do index = 1 to 5 by 2;
x = index ;
end;
run;
Upon completion of execution, what are the values of the variables X and INDEX i
n the SAS data set named LOOP?
1. x = 3, index = 3
2. x = 3, index = 4
3. x = 5, index = 5
4. x = 5, index = 6
5. x = 5, index = 7
correct_answer = "E"
Item 5
Given that the data set named ONE contains 10 observations and the data set name
d TWO contains 10 observations, how many observations will be contained in the d
ata set named COMBINE that is created in the following DATA step?
data combine;
set one two;
run;
1. 10
2. 20
3. 0, the DATA step will fail due to syntax errors
4. 10 to 20, depending on how many observations match
correct_answer = "B"
SAS Advanced Programming for SAS 9
Item 1
Given the following SAS data sets ONE and TWO:
[]
The following SAS program is submitted:
proc sql;
select one.*, sales
from one right join two
on one.year = two.year;
quit;
Which one of the following reports is generated?
1. []
2. []
3. []
4. []
correct_answer = "D"
Item 2
Given the following SAS data sets ONE and TWO:
[]
The following SAS program is submitted creating the output table THREE:
data three;
merge one (in = in1) two (in = in2);
by num;
run;

[]
Which one of the following SQL programs creates an equivalent SAS data set THREE
?
1.
proc sql;
create table three as
select *
from one full join two
where one.num = two.num;
quit;
2.
proc sql;
create table three as
select coalesce(one.num, two.num)
as NUM, char1, char2
from one full join two
where one.num = two.num;
quit;
3.
proc sql;
create table three as
select one.num, char1, char2
from one full join two
on one.num = two.num;
quit;
4.
proc sql;
create table three as
select coalesce(one.num, two.num)
as NUM, char1, char2
from one full join two
on one.num = two.num;
quit;
correct_answer = "D"
Item 3
The following SAS program is submitted:
%let type = RANCH;
proc sql;
create view houses as
select *
from sasuser.houses
where style = "&type";
quit;
%let type = CONDO;
proc print data = houses;
run;
The report that is produced displays observations whose value of STYLE are all e
qual to RANCH.
Which one of the following functions on the WHERE clause resolves the current va
lue of the macro variable TYPE?
1. GET
2. SYMGET
3. %SYMGET
4. &RETRIEVE
correct_answer = "B"
Item 4
The SAS data set SASDATA.SALES has a simple index on the variable DATE and a var
iable named REVENUE with no index.
In which one of the following SAS programs is the DATE index considered for use?
1.
proc print data = sasdata.sales;
by date;
run;
2.
proc print data = sasdata.sales;
where month(date) = 3;
run;
3.
data march;
set sasdata.sales;
if '01mar2002'd < date < '31mar2002'd;
run;
4.
data march;
set sasdata.sales;
where date < '31mar2002'd or revenue > 50000;
run;
correct_answer = "A"
Predictive Modeling Using SAS Enterprise Miner 5 Exam
Item 1
Open the diagram labeled Practice A within the project labeled Practice A. Perfo
rm the following in SAS Enterprise Miner 5.2:
1. Set the Clustering method to Average.
2. Run the Cluster node.
Use this project to answer the next two questions:
What is the Importance statistic for MTGBal (Mortgage Balance)?
1. 0.32959
2. 0.42541
3. 0.42667
4. 1.000000
correct_answer = "C" You must change the clustering method to average and run th
e cluster node first. Select view results and look in the output window and view
the Variable Importance results.
What is the Cubic Clustering Criterion statistic for this clustering?
1. 5.00
2. 14.69
3. 5862.76
4. 67409.93
correct_answer = "B" Run the diagram flow and view the results. From the results
window, select View -> Summary Statistics -> CCC Plot and mouse over where the
data point and the line intersect. This will display the CCC statistic.
Item 2
1. Create a project named Insurance, with a diagram named Explore.
2. Create the data source, DEVELOP, in SAS Enterprise Miner 5.2. DEVELOP is i
n the directory c:\workshop\Practice.
3. Set the role of all variables to Input, with the exception of the Target v
ariable, Ins (1= has insurance, 0= does not have insurance).
4. Set the measurement level for the Target variable, Ins, to Binary.
5. Ensure that Branch and Res are the only variables with the measurement lev
el of Nominal.
6. All other variables should be set to Interval or Binary.
7. Make sure that the default sampling method is random and that the seed is
12345.
Use this project to answer the next questions. (Note: only 2 of 7 questions are
displayed for this example)
The variable Branch has how many levels?
1. 8
2. 12
3. 19
4. 47
correct_answer = "C" This information can be obtained by viewing the PROC FREQ o
utput.
What is the mean credit card balance (CCBal) of the customers with a variable an
nuity?
1. $0.00
2. $8,711.65
3. $9,586.55
4. $11,142.45
correct_answer = "D" You can use a Stat Explore Node and view the output for the
Descriptive Statistics for CCBal by level of the target variable.
SAS Platform Administration for SAS 9
Item 1
The location of the repository manager physical files can be found in:
1. SAS Management Console.
2. the metadata server's omaconfig.xml file.
3. the foundation repository.
4. the metadata server's sasv9.cfg file.
correct_answer = "B"
Item 2
Every SAS platform implementation includes:
1. a foundation repository and a repository manager.
2. a foundation repository and a custom repository.
3. a custom repository and a repository manager.
4. multiple project repositories.
correct_answer = "A"
Item 3
Which procedure allows a platform administrator to update table metadata?
1. METAUPDATE_RULE
2. METASELECT
3. METATABLE
4. METALIB
correct_answer = "D"
Item 4
Which statement regarding pre-assigned libraries is true?
1. Pre-assigned libraries reduce the initialization time for a workspace serv
er.
2. Pre-assigned libraries always connect to an RDBMS at server initialization
.
3. Pre-assigned libraries always connect to a base SAS library at server init
ialization.
4. Pre-assigned libraries do not have to be identical across all SAS client a
pplications.
correct_answer = "C"
Item 5
A platform administrator needs to retrieve from the metadata a complete LIBNAME
statement including the user ID and password.
To complete this task, the platform administrator must be connected to SAS Manag
ement Console with what type of user access in the metadata?
1. Access to the credentials associated with libraries created with the METAL
IB procedure.
2. Access to credentials established by the LIBNAME engine.
3. Access to credentials associated with users in the outbound login.
4. Access to credentials for the authentication domain associated with the da
tabase server.
correct_answer = "D"
Item 6
By default, which groups have WriteMetadata on the Foundation repository?
1. PUBLIC
2. SASUSERS
3. ADMINISTRATORS ONLY
4. SAS SYSTEM SERVICES ONLY
correct_answer = "B"
Item 7
Given the following authorization settings for Library Sales2:
* Library Sales2's parent folder has an explicit grant of RM for Mary.
* Library Sales2 has an explicit denial of RM for PUBLIC.
Which statement is true?
1. Mary can see Library Sales2.
2. Mary can see data flagged as PUBLIC in Library Sales2.
3. Mary cannot see Library Sales2.
4. Mary can see Library Sales2, but not any data flagged as PUBLIC.
correct_answer = "C"
Item 8
Which statement is FALSE regarding the WriteMemberMetadata (WMM) permission?
1. By default, it mirrors the WriteMetadata permission.
2. It only applies to folders.
3. If WriteMetadata is granted, then you should not deny WMM.
4. WMM is inherited from one folder to another folder.
correct_answer = "D"
Item 9
Content has been exported from a SAS 9.1.3 environment into a SAS 9.2 developmen
t environment. After the export, the platform administrator attempts to promote
an object from the SAS 9.2 development environment into a production environment
.
What will be the result of this promotion attempt?
1. The promotion will not be allowed because objects from SAS 9.1.3 cannot be
promoted to SAS 9.2.
2. The promotion will not be allowed because objects in a development environ
ment cannot be promoted to a production environment.
3. The promotion will be allowed assuming the object type is allowed for prom
otion.
4. The promotion will not be allowed because objects exported from a previous
environment cannot be promoted.
correct_answer = "C"
SAS Data Integration Developer for SAS 9
Item 1
Which of the following servers is NOT a part of the platform for SAS Business An
alytics server tier?
1. SAS Metadata Server
2. SAS Workspace Server
3. SAS/CONNECT Server
4. SAS Content Server
correct_answer = "D"
Item 2
Which products are needed on the local host in order to access data from an MS A
ccess Database using an ODBC Data Source name?
1. SAS/ACCESS interface to DSN
2. SAS/ACCESS interface to MDB
3. SAS/ACCESS interface to PC Files
4. SAS/ACCESS interface to ODBC
correct_answer = "D"
Item 3
Which statement is true regarding external files?
1. External file objects are accessed with SAS INFILE and FILE statements.
2. External files contain only one record per line.
3. External files can be used as input but not as outputs in SAS Data Integra
tion Studio jobs.
4. SAS can only work with Blank, Comma, Semicolon and Tab as delimiters in ex
ternal files.
correct_answer = "A"
Item 4
Within SAS Data Integration Studio's SQL Join transformation, the option to turn
on debug is located in which Properties pane?
1. Select Properties
2. Create Properties
3. SQL Join Properties
4. Job Properties
correct_answer = "C"
Item 5
Which SAS Data Integration Studio reports, generated as external files, can be s
tored as document objects within metadata?
1. only job reports
2. only table reports
3. both job reports and table reports
4. No reports can be stored as document objects.
correct_answer = "C"
Item 6
You want to create a job to extract only the rows that contain information about
female employees from a table that contains information about both male and fem
ale employees. The new table should have observations in ascending order of age.
Refer to the job flow diagram in the exhibit. Where would you set the options t
o filter and sort the data?
[]
1. Where tab and Group By tab
2. Where tab and Order By tab
3. Where tab and Parameters tab
4. Group By tab and Parameters tab
correct_answer = "B"
Item 7
Within SAS Data Integration Studio's Table Loader transformation, which load sty
le choice does NOT exist?
1. Delete where
2. Append to Existing
3. Replace
4. Update/Insert
correct_answer = "A"
Item 8
In SAS Data Integration Studio, a business key can be defined in the properties
of which transformation?
1. Data Validation
2. SQL Join
3. Lookup
4. SCD Type 2 Loader
correct_answer = "D"
SAS BI Content Developer for SAS 9
Item 1
When opening a registered SAS data file into a Microsoft Excel Worksheet, a user
has the option to sort the data.
Which application performs the sort and where does the sort occur?
1. SAS performs the sort on the server.
2. SAS performs the sort on the local machine.
3. Excel performs the sort on the server.
4. Excel performs the sort on the local machine.
correct_answer = "A"
Item 2
When can you add a stored process as a data source to an information map?
1. anytime
2. when at least one table is selected as a data source
3. when at least one OLAP cube is selected as a data source
4. once an application server has been selected
correct_answer = "B"
Item 3
Refer to the exhibit.
[]
A SAS.IdentityGroups filter has been created in SAS Information Map Studio. Ther
e is a data item called "Group" that contains different metadata groups.
If the "Group" filter is applied to the map, how will it affect the data?
1. All rows will be returned for any group that the user is a member of.
2. Only rows that belong to the first group are returned.
3. All rows will be returned for PUBLIC group only.
4. All rows matching the group identity login are returned.
correct_answer = "A"
Item 4
A SAS data set is used as a data source for a SAS BI Dashboard data model.
Which type of code do you write to query the data?
1. DATA Step
2. PROC SQL
3. a SQL/JDBC query
4. MDX
correct_answer = "C"
Item 5
Refer to the exhibit.
[]
What causes this error message when executing a stored process?
1. Stored process code cannot be a .TXT file.
2. The stored process server is not running.
3. The file that contains the stored process code is not in the specified loc
ation.
4. An administrator deleted the stored process from the metadata.
correct_answer = "C"
Item 6
In a stored process, when using a range prompt named DateRange, which macro vari
ables would you use in your SAS code?
1. DateRange_START and DateRange_FINISH
2. DateRange_BEGIN and DateRange_END
3. DateRange_MIN and DateRange_MAX
4. DateRange0 and DateRange1
correct_answer = "C"
Item 7
Upon initial install, all of the capabilities in the 'Web Report Studio: Report
Creation' role are also included in which role?
1. Web Report Studio: Report Viewing
2. Web Report Studio: Advanced
3. Web Report Studio: Content Management
4. Web Report Studio: Administration
correct_answer = "B"
Item 8
A content developer would like to create a group of cascading prompts to use in
multiple reports without recreating the prompts for each report.
What features of the prompt framework must the developer use?
1. Cannot create shared cascading prompts for use in multiple reports.
2. Dynamic Prompts and Shared Prompts
3. Cascading Prompts and Standard Groups
4. Cascading Prompts, Standard Groups, and Shared Prompts
correct_answer = "D"
Item 9
A SAS Information Map with a SAS OLAP Cube as a data source can be built from wh
ich of the following?
1. multiple SAS OLAP Cubes
2. a SAS OLAP Cube and a stored process
3. one table joined with one SAS OLAP Cube
4. one SAS OLAP Cube only
correct_answer = "D"
Item 10
Which statement is true regarding connection profiles used with the SAS platform
applications?
1. Each SAS platform application must have its own connection profile.
2. Connection profiles are stored on the server machine.
3. Connection profiles are stored on the machine where the SAS application is
installed.
4. All SAS platform applications share one connection profile.
correct_answer = "C"
Contact Us | Sitemap | RSS Feeds | www.sas.com | Terms of Use & Legal Informatio
n | Privacy Statement
Copyright © 2010 SAS Institute Inc. All Rights Reserved.
http://studysas.blogspot.com/2008/08/sas.html#GoDown

Vous aimerez peut-être aussi