IBM
000-349 · Question #2
000-349 Question #2: Real Exam Question with Answer & Explanation
The correct answer is B. combine any contiguous elements that will not be mapped into a large blob.. Combining contiguous unused elements in a type tree into a single large blob reduces parsing overhead by allowing the engine to skip over multiple unused fields in one operation.
Question
One way to modify a type tree to increase performance is to:
Options
- Amap the unused elements that are not used to =NONE.
- Bcombine any contiguous elements that will not be mapped into a large blob.
- Cmove the unused elements into a reserved category called nonUsed
- Dchange the numeric type elements to alphanumeric type elements.
Explanation
Combining contiguous unused elements in a type tree into a single large blob reduces parsing overhead by allowing the engine to skip over multiple unused fields in one operation.
Common mistakes.
- A. Mapping unused elements to =NONE still requires the parser to individually locate and evaluate each element before discarding it, providing no parsing skip benefit.
- C. Moving unused elements to a nonUsed category is not a recognized optimization technique and does not reduce parser work because the engine must still traverse those elements.
- D. Changing numeric elements to alphanumeric does not reduce parse overhead and can increase processing time by requiring additional type conversion logic.
Concept tested. Type tree optimization using blob for unused contiguous elements
Reference. https://www.ibm.com/docs/en/wtx/8.4.1?topic=trees-optimizing-type-tree-performance
Community Discussion
No community discussion yet for this question.