Docsity

TIBCO Streaming Operators Practice Exam: Questions and Answers, Exams of Technology

Toggle sidebar
bg1
TIBCO Streaming Operators Micro Practice Exam
Question 1.Which component in an EventFlow module defines the structure and data types of tuples?
A) Stream
B) Schema
C) Operator
D) Expression
Answer: B
Explanation: A schema specifies field names and data types, defining the structure of tuples in
EventFlow.
Question 2.What is a tuple in StreamBase?
A) A mutable collection of fields
B) A single, immutable unit of data
C) A type of operator
D) A streaming protocol
Answer: B
Explanation: In StreamBase, a tuple is an immutable unit of data that flows through streams.
Question 3.Which data type is NOT supported in StreamBase schemas?
A) String
B) Int
C) Double
D) Float
Answer: D
Explanation: StreamBase supports string, int, double, list, and tuple types, but ‘float’ is not a recognized
schema type.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download TIBCO Streaming Operators Practice Exam: Questions and Answers and more Exams Technology in PDF only on Docsity!

Question 1.Which component in an EventFlow module defines the structure and data types of tuples? A) Stream B) Schema C) Operator D) Expression Answer: B Explanation: A schema specifies field names and data types, defining the structure of tuples in EventFlow. Question 2.What is a tuple in StreamBase? A) A mutable collection of fields B) A single, immutable unit of data C) A type of operator D) A streaming protocol Answer: B Explanation: In StreamBase, a tuple is an immutable unit of data that flows through streams. Question 3.Which data type is NOT supported in StreamBase schemas? A) String B) Int C) Double D) Float Answer: D Explanation: StreamBase supports string, int, double, list, and tuple types, but ‘float’ is not a recognized schema type.

Question 4.Which operator allows you to create new fields and overwrite existing ones using expressions? A) Filter B) Map C) Split D) Union Answer: B Explanation: The Map operator is used for creating and modifying fields in tuples using the expression language. Question 5.Which field type enables grouping tuples for aggregation? A) Key Field B) Output Field C) Schema Field D) Expression Field Answer: A Explanation: Key fields are used to group tuples for aggregation in the Aggregate operator. Question 6.Which operator splits a single input stream into multiple output streams in a specific order? A) Merge B) Split C) Union D) Map Answer: B Explanation: The Split operator divides an input stream into multiple outputs in a guaranteed order.

Question 10.Which operator’s Expression pane is used to specify filtering logic? A) Map B) Filter C) Split D) Merge Answer: B Explanation: The Filter Expression pane is used to define filtering logic for the Filter operator. Question 11.What does the Window operator do? A) Joins streams B) Creates a data window over a stream C) Aggregates fields D) Modifies tuple schemas Answer: B Explanation: The Window operator maintains a window of data over the stream, useful for temporal analysis. Question 12.Which window type processes data in fixed-size, non-overlapping segments? A) Sliding Window B) Tumbling Window C) Jubilee Window D) Rolling Window Answer: B Explanation: Tumbling windows process data in non-overlapping, fixed-size segments. Question 13.Which window type evicts tuples based on count or time?

A) Tumbling B) Sliding C) Jubilee D) Aggregate Answer: C Explanation: Jubilee windows are count-based or time-based and evict tuples accordingly. Question 14.What does the Aggregate operator do? A) Joins streams B) Performs calculations over groups of data C) Splits streams D) Modifies schemas Answer: B Explanation: The Aggregate operator calculates functions like sum, count, avg, min, and max over grouped data. Question 15.Which built-in function calculates the average of a field in StreamBase expression language? A) sum() B) avg() C) min() D) max() Answer: B Explanation: The avg() function calculates the average value of a field. Question 16.Which operator allows transactional lookups and updates against Query Tables?

A) Pattern B) Merge C) Window D) Aggregate Answer: A Explanation: The Pattern operator defines and detects complex event patterns such as sequences and temporal relationships. Question 20.What is the primary use of the Heartbeat operator? A) Aggregating data B) Injecting periodic timer tuples C) Modifying tuple fields D) Splitting streams Answer: B Explanation: The Heartbeat operator injects periodic timer tuples to keep downstream operations active during low data flow. Question 21.Which operator is commonly used to connect to external systems like JMS or REST? A) Adapter B) Merge C) Split D) Heartbeat Answer: A Explanation: Adapters are used for integrating StreamBase with external systems. Question 22.What is a custom operator in StreamBase?

A) An operator built-in to StreamBase B) An operator created in Java to extend functionality C) An operator that connects to JMS D) An operator that splits streams Answer: B Explanation: Custom operators are Java-based components that extend StreamBase’s built-in operators. Question 23.Which operator pair is used to protect shared data in parallel regions? A) Split and Merge B) Lock and Unlock C) Map and Filter D) Window and Aggregate Answer: B Explanation: The Lock and Unlock operators coordinate access to shared data in parallel processing. Question 24.Which data construct works with Lock/Unlock operators for concurrency control? A) Query Table B) Window C) Lock Set D) Adapter Answer: C Explanation: The Lock Set construct is used with Lock/Unlock operators for concurrency control. Question 25.Which concurrency setting allows asynchronous processing in EventFlow? A) Parallel Region

C) Adapter D) Heartbeat Operator Answer: B Explanation: The Debugger in StreamBase Studio permits step-through debugging. Question 29.What is the purpose of a schema in StreamBase? A) To join streams B) To define tuple structure and field data types C) To aggregate data D) To split streams Answer: B Explanation: Schemas specify tuple structure and field types. Question 30.How are tuple fields referenced in the StreamBase Expression Language? A) By field index B) By field name C) By schema type D) By stream name Answer: B Explanation: Fields are referenced by their name in expressions. Question 31.What does the built-in function ‘concat()’ do in StreamBase? A) Counts tuples B) Joins strings together C) Calculates averages

D) Sums integers Answer: B Explanation: The concat() function joins two or more strings into one. Question 32.Which operator is best for conditionally routing tuples based on multiple criteria? A) Split B) Filter C) Window D) Merge Answer: B Explanation: The Filter operator supports multiple boolean expressions for conditional routing. Question 33.Which operator does NOT modify tuple structure or content? A) Map B) Merge C) Filter D) Adapter Answer: B Explanation: The Merge operator combines streams but does not alter tuple contents. Question 34.How can you ensure unique output tuples from an Aggregate operator? A) By defining grouping keys B) By using the Filter operator C) By splitting streams D) By joining tables

Explanation: A stream is a sequence of tuples flowing through EventFlow. Question 38.Which statement about input streams is true? A) They only output data B) They receive data into the EventFlow module C) They modify tuple schemas D) They aggregate data Answer: B Explanation: Input streams receive data into the EventFlow module. Question 39.What is the main role of output streams? A) To receive data from outside B) To send processed data out of the EventFlow module C) To aggregate tuples D) To split streams Answer: B Explanation: Output streams deliver processed tuples out of EventFlow modules. Question 40.Which operator can use the StreamBase Expression Language for calculations? A) Map B) Split C) Union D) Heartbeat Answer: A Explanation: The Map operator supports calculations via the expression language.

Question 41.In StreamBase, what is a list data type? A) A sequence of tuples B) A field containing multiple values C) A type of operator D) A stream identifier Answer: B Explanation: List data types hold multiple values within a single field. Question 42.Which function checks whether a field contains a null value? A) isEmpty() B) isNull() C) length() D) contains() Answer: B Explanation: isNull() evaluates if a field is null. Question 43.Which operator would you use to combine streams based on timestamp ordering? A) Merge B) Union C) Split D) Map Answer: A Explanation: Merge operator combines streams and maintains order by timestamp.

A) All tuples pass to output B) Non-matching tuples are removed C) Tuples are merged D) Tuples are split Answer: B Explanation: Discard behavior removes tuples not meeting filter criteria. Question 48.Which operator is ideal for enforcing ordering in event processing? A) Merge B) Split C) Adapter D) Heartbeat Answer: A Explanation: Merge operator enforces tuple ordering by a specified field. Question 49.Which feature in StreamBase helps detect late or missing tuples? A) Split Operator B) Heartbeat Operator C) Merge Operator D) Adapter Answer: B Explanation: The Heartbeat operator monitors for late or missing tuples. Question 50.Which operator supports the detection of absence of events in a stream? A) Pattern

B) Join C) Aggregate D) Split Answer: A Explanation: Pattern operator detects both presence and absence of events. Question 51.Which operator is used for random access data storage in StreamBase? A) Query Table B) Merge C) Map D) Split Answer: A Explanation: Query Tables provide random access storage for transactional operations. Question 52.What is the purpose of the Concurrency Tab in operator properties? A) To define output fields B) To manage parallel processing options C) To specify filter criteria D) To set data window size Answer: B Explanation: The Concurrency Tab configures parallel processing and region settings. Question 53.Which StreamBase feature optimizes CPU usage with asynchronous execution? A) Output Stream B) Parallel Region

D) Adapter Answer: A Explanation: Lock/Unlock operators ensure sequential access and coordination. Question 57.Which StreamBase operator is used for aggregation over windows? A) Aggregate B) Window C) Merge D) Map Answer: A Explanation: Aggregate operator performs functions like sum, avg, etc., over windows. Question 58.What does the min() function return in StreamBase? A) The largest value B) The average value C) The smallest value D) The sum Answer: C Explanation: min() returns the smallest value in a group or window. Question 59.Which operator’s output is triggered by a change in a window or group? A) Aggregate B) Filter C) Adapter D) Split

Answer: A Explanation: Aggregate operator triggers output when the window or group changes. Question 60.Which join policy is required for event-time-based joins? A) Window-based B) Schema-based C) Filter-based D) Output-based Answer: A Explanation: Event-time-based joins require window-based policies. Question 61.Which function is used for string manipulation in StreamBase? A) sum() B) avg() C) substr() D) min() Answer: C Explanation: substr() extracts substrings from a string field. Question 62.What is the effect of overwriting a field in the Map operator? A) Creates a new tuple B) Changes the field value in the output tuple C) Deletes the field D) Adds a new stream Answer: B