IBM MQ and InfoSphere DataStage Technical Quiz
Tests knowledge of IBM MQ message queue administration and IBM InfoSphere DataStage ETL platform operations, including commands, utilities, reason codes, configuration, and performance optimization techniques.
Questions
Which of the following are keyless partitioning methods?
- Entire
- Round Robin
- Random
- Hash
- Modulus
To generate a report to show the operators, processes and datasets in the job, -------?
- Set APT_JOB_REPORT to True
- Set APT_DUMP_SCORE to True
- Set APT_MONITOR_SIZE to true
- Set APT_RECORD_COUNTS to true
The Datastage JobMon daemon --------
- Writes the job’s OSH script to the job log
- Automatically sets all environmental variables
- Graceful shutdown of datastage engine
- Provides a snapshot of a job’s performance
Which sort stage option can be selected to sort a dataset to retain a single occurance of multiple records that have identical sorting key values?
- Unique sort keys must be set to True
- Allow Duplicates must be set to False
- Sort Group must include the sort key values
- Stable sort must be set to true
Which of the following could be modified to improve the performance of a job which is using a sort stage executing slow due to the amount of data processed?
- Environmental variable APT_AUTO_TRANSPORT_SIZE
- Environmental variable APT_SORT_MEMORY_SIZE
- Sort stage Restrict memory usage property
- Sort stage Max memory limit property
You need to read data from three oracle tables that store sales data from three regions to load into a single oracle table. These three tables are having the same table definitions and the only difference is that each table contains data for a particular region. Which of the following will do the required task?
- Create a task with single oracle enterprise stage that executes a custom SQL statement with FETCH ALL, that outputs to an Oracle enterprise stage.
- Create a job with three Oracle Enterprise stages to read from the tables and output to a collector stage which in turn outputs the data to an Oracle Enterprise stage.
- Create a job with a single Oracle Enterprise stage that executes a custom SQL statement with UNION ALL that outputs the data to an oracle enterprise stage.
- Create a job with three Oracle Enterprise stages to read from the tables and output to a Funnel stage which in turn outputs the data to an oracle enterprise stage.
How could repetition element identified on an XML input stage, which is processing an XML file?
- Auto detect by XML stage.
- Check the "Repetition Element Required" box on the output link tab.
- Set the key property for the column on the output link to 'Yes'
- Set the 'Nullable' property for the column on the output link to 'Yes'
What can be used to derive values for the column 'JobName' that is to contain the name of the job that is running.
- Datastaage function
- Datastage Macro
- A system variable
- a link variable
Which of the following is true to abort a job from within the Transformer stage?
- Call the DSLoggFatal function from a stage variable derivation
- Call the DSStopJob function from a stage or column derivation
- Use the SETENV function to set the environmental variable APT_PM_KILL_NOWAIT
- Create a dummy output link with a constraint that tests for the condition to abort on; set the 'Abort After rows' property to 1
--------------- controls the display of performance statistics in Designer?
- APT_NO_JOBMON
- APT_PERFORMANCE_DATA
- APT_PM_SHOW_PIDS
- APT_RECORD_COUNTS
The uv command in a UNIX datastage server is used to --------?
- Cleanup resources from a failed datastage job
- Start and stop datastage engine.
- Provide read access to Datastage configuration file.
- Report datastage client connections.
What type of channel is required for connecting an application to a queue manager in CLIENT mode?
- Sender
- Receiver
- Sender/Receiver pair
- SVRCONN
A MQ reason code 2035 indicates
- Queue Manger Not available
- Queue Not Available
- Security Error
- Invalid options specified in a call to connect to queue manager
The utility used to create JNDI bindings for JMS objects is
- runmqsc
- jmsadmin
- MQ Explorer
- rfhutil
What command is used to set authorisation permission for user Id's on MQ objects
- dmpmqaut
- runmqsc
- setmqaut
- defmqaut
To retrieve a message from a queue as a JMS Text message, what should be the value MQMD Format?
- TEXT
- STRING
- MQSTR
- MQSTRING
What does MQ reason code 2085 indicate?
- Queue Not available
- Security Error
- Queue Manager Not Available
- 2085 is not a valid return code
When defining a connection factory for a JNDI binding the default value for Transport is:
- Client
- Bindings
- No default. The transport has to be defined explicitly
- None of the above
What utility can be used to see the description for a particular reason code?
- runmqsc
- mqrc
- rfhutil
- jmsadmin
The sample program amqsbcg is used for :
- purge queue
- put messages to a queue
- get messages from a queue
- browse messages in the queue