Oracle SOA Suite 12c Essentials — Question 34
You have a situation where a collection of rules might provide a flexible way of externalizing logic in an application.
Which two are accurate considerations to assess when you decide to use a decision table or if-then rules?
Answer options
- A. The decision table’s spreadsheet metaphor is compact and familiar to end users.
- B. Decision tables can use globals whereas if-then rules cannot.
- C. The logic will likely require more rules if expressed as a decision table.
- D. Unlike with a decision table, an Expression Builder is provided for if-then rules to help you craft condition expressions.
- E. Built-in error prevention features for decision tables can help you build more complete and accurate rules.
Correct answer: B, D
Explanation
Option B is correct because decision tables are indeed able to utilize global variables, whereas if-then rules do not have this capability. Option D is also correct since if-then rules offer an Expression Builder to assist in formulating conditions, which is not available for decision tables. The other options either do not accurately describe the differences between the two or are not relevant considerations for this scenario.