SAS DI Beginner Quiz
SAS DI Quiz : This SAS DI Beginner Quiz contains set of 60 SAS DI Quiz which will help to clear any exam which is designed for Beginner.
1) Which one of the following should be avoided when creating and using an SQL
procedure view?
- using a HAVING clause
- using summary functions
- referencing a view multiple times in the same program
- creating views on tables whose structures remain constant
2) Which SQL procedure program deletes rows from the data set CLASS?
- proc sql;
- alter from class delete where age < (select stop_age from threshold); quit;
- proc sql; delete from class where age < (select stop_age from threshold); quit;
- proc sql; modify table class delete where age < (select stop_age from threshold); quit;
- proc sql;
- select * from class delete where age < (select stop_age from threshold); quit;
3) Which of the following is true about a noncorrelated subquery in SAS?
- The outer query executes before the subquery.
- The subquery executes once before the outer query.
- The subquery creates a data set in the WORK library.
- The subquery can reference tables in the FROM clause in the outer query.
4) Which products are needed on the local host in order to access data from an MS Access Database using an ODBC Data Source name?
- SAS/ACCESS interface to DSN
- SAS/ACCESS interface to MDB
- SAS/ACCESS interface to PC Files
- SAS/ACCESS interface to ODBC
5)
Which statement is true regarding external files?
- External file objects are accessed with SAS INFILE and FILE statements.
- External files contain only one record per line.
- External files can be used as input but not as outputs
- in SAS Data Integration Studio jobs.
- SAS can only work with Blank, Comma, Semicolon and Tab as delimiters in external files.
6) Within SAS Data Integration Studio’s SQL Join transformation, the option to turn on debug is located in which Properties pane?
- Select Properties
- Create Properties
- SQL Join Properties
- Job Properties
7) Within SAS Data Integration Studio’s Table Loader transformation, which load style choice does NOT exist?
- Delete where
- Append to Existing
- Replace
- Update/Insert
8) In SAS Data Integration Studio, a business key can be defined in the properties of which transformation?
- Data Validation
- SQL Join
- Lookup
- SCD Type 2 Loader
9) Which statement is true regarding connection profiles used with the SAS platform applications?
- Each SAS platform application must have its own connection profile.
- Connection profiles are stored on the server machine.
- Connection profiles are stored on the machine where the SAS application is installed.
- All SAS platform applications share
- one connection profile.
10) Which statement regarding pre-assigned libraries is true?
- Pre-assigned libraries reduce the initialization time for a workspace server.
- Pre-assigned libraries always connect to an RDBMS at server initialization.
- Pre-assigned libraries always connect to a base SAS library at server initialization.
- Pre-assigned libraries do not have to be identical across all SAS client applications.
11) Can we use Data step variables in a %if-%then statement ?
- No,Data step variables cannot be used in %if-%then statements.
- yes,with macro defination
- Yes,some varibles can be used.
- Yes by using do loop
12) Which SAS applications can be used to create data sources for reporting and analysis using the SAS platform applications?
- SAS Enterprise Guide
- SAS Information Delivery Portal
- SAS Web Report Viewer
- SAS Web Report Studio
13) Which statement is true regarding roles?
- Only groups can be members of roles.
- Only users can be members of groups or roles.
- You must use roles to control access to application features.
- You must use roles to control access to data sources and reporting content.
14) You want to register an external file with the following structure: first line contains Customer First and Last Name second line is address1 third line is address 2 fourth line contains the phone number What action should you take to read this file?
- Use the New User Written External File wizard.
- Use the New Fixed Width External File wizard.
- Use the New Delimited External File wizard.
- Use the New COBOL Copybook wizar
15) The ability to deploy a SAS Data Integration Studio job as a Web service or a SAS Stored Process requires additional set up that is performed in which client application
- SAS Data Integration Studio
- SAS Enterprise Guide
- SAS Job Deployment Studio
- SAS Management Console
16) Within SAS Data Integration Studio, which one of the following is NOT an option available from the File-> New menu choice under External File grouping?
- Delimited
- Fixed Width
- User Written
- COBOL Copybook
17) Which statement correctly defines a System DSN?
- Not specific to an individual user. Anyone with permission to access the data source can use it.
- Specific to an individual user. It is available only to the user who creates it.
- Not specific to an individual user. It can be shared among users even though it is created locally
- Specific to an individual user. But it can be shared among users.
18) You want to create a table containing all customers from Italy. Assume that global customer orderinformation is available in a single table. Identify the SAS Data Integration Studio transformation that will help you perform the task easily.
- Append
- Extract
- Lookup
- Mining Results
19) When using the SCD Type 2 load method in SAS Data Integration Studio, which statement is true when a
change is detected?
- the old record is deleted and the changed record is added
- the old record is updated with the new values from the changed record
- the old record is flagged and the changed record is added
- the old record is merged with the changed record
20) A fact table is populated by using which transformation in SAS Data Integration Studio?
- SCD Type 2 Loader
- Data Validation
- Lookup
- DataFlux IS Job
21) In SAS Data Integration Studio, surrogate and retained key values are:
- generated by the Lookup transformation
- copied from source tables into dimension tables
- generated by the SCD Type 2 Loader transformation
- copied from dimension tables into source tables
22) In SAS Data Integration Studio, source table records and dimension table records are combined for output
using which transformation?
- Data Validation
- Lookup
- DataFlux IS Job
- Table Loader
23) The SAS Data Integration Studio SCD Type 2 Loader transformation performs which of the following?
- Loads source table records into a standardization table.
- Loads dimension table records into a fact table.
- Loads source table records into a dimension table.
- Loads fact table records into a multi-threaded table.
24) How can you make a SAS Data Integration Studio Generated transformation option required?
- The name of the option has to start with _REQUIRED.
- The type of the column has to be defined as Required Data source column.
- The option can be marked as Requires a non-blank value.
- It is not possible to make an option require
25) Within SAS Data Integration Studio’s Table Loader transformation, which load style choice does NOT exist?
- Delete where
- Append to Existing
- Replace
- Update/Insert
26) In SAS Data Integration Studio, a business key can be defined in the properties of which transformation?
- Data Validation
- SQL Join
- Lookup
- SCD Type 2 Loader
27) Assume that you have completed the Register Tables wizard in SAS Data Integration Studio. Which
statement is true?
- The physical table(s) selectedare copied to the application server specified in the library.
- The physical table(s) selectedare copied to the SAS Folders location specified in the wizard.
- Metadata for the physical table(s) selected is stored on the application server specified in the library.
- Metadata for the physical table(s) selected is stored in the SAS Folders location specified in the wizar
28) The UPDATE statement is not supported by Hadoop (Hive), HAWQ, Impala, LASR, PI,
or SASHDAT engines, so they cannot be used as target tables in the following
transformations:
- SCD Type 1
- Append
- Merge
- Extract
29) The Loop transformation has been enhanced so that you can create a single job with how many loops
- Three loops
- One loop only
- two loops
- Up to 42 loops
30) Defination of SAS Workspace Server
- Submits stored processes for execution by a SAS session. Stored processes are SAS programs that are stored and can be executed by client
- Executes SAS code,reads and writes
- Submits generated SAS code to machines that are remote from the default SAS Application Server; can also be used for interactive access to remote libraries.
- Supports a compute grid that can execute grid-enabled jobs that are created in SAS Data Integration
31) Defination of SAS Stored Process Server
- Submits stored processes for execution by a SAS session. Stored processes are SAS programs that are stored and can be executed by client
- Executes SAS code,reads and writes
- Submits generated SAS code to machines that are remote from the default SAS Application Server; can also be used for interactive access to remote libraries.
- Supports a compute grid that can execute grid-enabled jobs that are created in SAS Data Integration
32) Defination of SAS SAS/CONNECT Server
- Submits stored processes for execution by a SAS session. Stored processes are SAS programs that are stored and can be executed by client
- Executes SAS code,reads and writes
- Submits generated SAS code to machines that are remote from the default SAS Application Server; can also be used for interactive access to remote libraries.
- Supports a compute grid that can execute grid-enabled jobs that are created in SAS Data Integration
33) Defination of SAS SAS/SHARE Server
- Submits stored processes for execution by a SAS session. Stored processes are SAS programs that are stored and can be executed by client
- Executes SAS code,reads and writes
- Submits generated SAS code to machines that are remote from the default SAS Application Server; can also be used for interactive access to remote libraries.
- Enables concurrent access of server libraries from multiple users
34) Method for Specifying Metadata for A set of table metadata exported from SAS Data Integration Studio as a SAS Package File
- Select File -> Import -> Metadata from the menu bar
- Select an appropriate destination folder in the tree view, and then select File ->Import -> SAS Package from the menu bar
- Select File -> Register Tables from the menu bar
- Select File -> New -> External File ->Delimited from the menu bar
35) Method for Specifying Metadata for
A table that is specified in a comma-delimited file or in another external file
- Select File -> Import -> Metadata from the menu bar
- Select an appropriate destination folder in the tree view, and then select File ->Import -> SAS Package from the menu bar
- Select File -> Register Tables from the menu bar
- Select File -> New -> External File ->Delimited from the menu bar
36) Select correct Propagation Path Option for “To Targets”
- From Sources
- From Beginning
- From End
- To Sources
- To Beginning
- To End
- From Targets
- From Beginning
- From End
- To Targets
- To Beginning
- To End
37) Select correct Propagation Path Option for “From Targets ”
- From Sources
- From Beginning
- From End
- To Sources
- To Beginning
- To End
- From Targets
- From Beginning
- From End
- To Targets
- To Beginning
- To End
38) Select correct Propagation Path Option for “To Sources”
- From Sources
- From Beginning
- From End
- To Sources
- To Beginning
- To End
- From Targets
- From Beginning
- From End
- To Targets
- To Beginning
- To End
39) Select correct Propagation Path Option for “From Sources”
- From Sources
- From Beginning
- From End
- To Sources
- To Beginning
- To End
- From Targets
- From Beginning
- From End
- To Targets
- To Beginning
- To End
40) Given the following SAS data set ONE: ONE
CATEGORY AGE SALARY BONUS
——
M 28 200 20
M 25 100 10
M 28 300 10
M 33 300 30
F 18 100 50
F 25 200 10
F 35 400 50
The following SQL program is submitted:
proc sql;
create table two as select distinct age from o
- 3
- 4
- 5
- 6
41) The following SAS program is submitted:
proc contents data = testdata.one;
run;
Which one of the following SQL statements produces similar information about the column attributes as the above CONTENTS procedure?
- proc sql; show testdatone; quit;
- proc sql; describe testdata.one; quit;
- proc sql; show table testdata.one; quit;
- proc sql; describe table testdata.one; quit;
42) The following SAS program is submitted: proc append data = M base = F; run; Which
SQL procedure program will produce the same results?
- proc sql; insert into F select * from M; quit;
- proc sql ; select * from F outer union corr select * from M; quit;
- proc sql ; create table F as select * from F intersect select * from M; quit;
- proc sql ; create table F as select * from F intersect corr select * from M; quit;
43) Which SAS Data Integration Studio reports, generated as external files, can be stored as document objects within metadata?
- only job reports
- only table reports
- both job reports and table reports
- No reports can be stored as document objects.
44) 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?
- SAS performs the sort on the server.
- SAS performs the sort on the local machine.
- Excel performs the sort on the server.
- Excel performs the sort on the local machine.
45) How do we resolve error messages when
output that was generated with the
MPRINT system option looks fine?
- Use the %UNQUOTE function.
- Use CALL EXECUTE.
- Use CALL SYMPUT
- use %let
46) Which of the following is NOT a feature of SAS Data Integration Studio’s Data Validation transformation?
- The Data Validation transformation can generate match codes to provide de-duplication capabilities.
- The Data Validation transformation can perform missing-value detection and invalid-value validation in a single pass of the data.
- The Data Validation transformation provides de-duplication capabilities.
- The Data Validation transformation provides error-condition handling.
47) The SAS Data Integration Studio SCD Type 2 Loader transformation can do which of the following?
- generate cpu statistics
- generate a datetime value
- generates cluster numbers
- generates standardization values
48) Which action is performed by the Lookup transformation in SAS Data Integration Studio?
- combines rows from multiple tables into a single row
- combines rows from multiple tables into multiple rows
- validates that values are unique
- validates that values are not null
49) In SAS Data Integration Studio, where must the columns included in a business key exist?
- in the source and standardization tables
- in the source and dimension tables
- in the target and fact tables
- in the source, dimension and standardization tables
50) In SAS Data Integration Studio, the SCD Type 2 Loader transformation will do which of the following?
- find row matches using the business key
- find row matches using generated cluster numbers
- find non-standard values using a generated key
- find non-standard values using a business key
51) In SAS Data Integration Studio, the default values for generated surrogate and retained keys contain
which type of values?
- datetime values
- alpha-numeric values
- binary values
- integer values
52) Which of the following servers is NOT a part of the platform for SAS Business Analytics server tier?
- SAS Metadata Server
- SAS Workspace Server
- SAS/CONNECT Server
- SAS Content Server
53) Which products are needed on the local host in order to access data from an MS Access Database using an ODBC Data Source name?
- SAS/ACCESS interface to DSN
- SAS/ACCESS interface to MDB
- SAS/ACCESS interface to PC Files
- SAS/ACCESS interface to ODBC
54) Which statement is true regarding external files?
- External file objects are accessed with SAS INFILE and FILE statements.
- External files contain only one record per line.
- External files can be used as input but not as outputs in SAS Data Integration Studio jobs.
- SAS can only work with Blank, Comma, Semicolon and Tab as delimiters in external files.
55) Within SAS Data Integration Studio’s SQL Join transformation, the option to turn on debug is located in which Properties pane?
- Select Properties
- Create Properties
- SQL Join Properties
- Job Properties
56) Which SAS Data Integration Studio reports, generated as external files, can be stored as document objects within metadata?
- only job reports
- only table reports
- both job reports and table reports
- No reports can be stored as document objects
57) 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 female employees. The new table should have observations in ascending order of age. Where would y
- Where tab and Group By tab
- Where tab and Order By tab
- Where tab and Parameters tab
- Group By tab and Parameters tab
58) You want to create a job that checks conditions for your data before that data is loaded into a data warehouse. The job should be able to detect error conditions such as missing data or duplicate data and take appropriate actions like registering error co
- Data Transfer
- Data Validation
- Data Quality
- Data Extract
59) When using the SCD Type 2 load method in SAS Data Integration Studio, which columns can be selected
to check for changed data?
- business key columns
- Type 1 columns
- generated columns
- non-key columns
60) Defination of SAS SAS Scalable Performance Data (SPD) Server
- Provides parallel processing for large SAS data stores; provides a comprehensive security infrastructure, backup and restore utilities, and sophisticated administrative and tuning options.
- Executes SAS code,reads and writes
- Submits generated SAS code to machines that are remote from the default SAS Application Server; can also be used for interactive access to remote libraries.
- Enables concurrent access of server libraries from multiple users
61) Defination of Loop transforamtion
- Marks the beginning of the iterative processing sequence in an iterative job.
- Marks the end of the iterative processing sequence in an iterative job
- Marks the end of a portion of a SAS job that was running in parallel with another
- portion of that job. Any code between the Fork transformation and the Fork End
- transformation is executed in one SAS session.
- Marks the beginning of a separate session that allows a portion of a SAS job to
- be run in parallel along with another piece of SAS code.
62) maintains multiple records for each business key in the dimension table. The latest
entry is the current entry for that business key. Other rows comprise the historical
record of data changes. New entries create new current rows.
- Type 1 SCD
- Type 2 SCD
- Type 3 SCD
- SQL join
63) limited history of data changes
- Type 1 SCD
- Type 2 SCD
- Type 3 SCD
- SQL join