An application developer needs to create a read-only attribute age in the Business Object Model (BOM) member Customer . The BOM uses a Java Execution Object Model (XOM). What should the application developer add to the XOM member that maps to the BOM member Customer?
A. A method protected int getAge();
B. A method private int getAge();
C. An attribute private int age;
D. A method public int getAge();
正解:D
質問 2:
A Hosted Transparent Decision Service (HTDS) for a car insurance company has the following input and output. Input: A form that includes information about the driver, the vehicle and the type of insurance. Output: The cost of insurance if the request is eligible. How should the application developer implement this flow of information between the calling application and the decision service?
A. Implement a database call that is triggered during rule execution so the rule engine can access all relevant driver, vehicle, and insurance information. Define a ruleset variable to return the decision results.
B. Implement an IlrContext subclass to populate the working memory with all the driver, vehicle, and insurance objects. Define a ruleset parameter to return the decision results.
C. Define one ruleset parameter to pass the driver, vehicle, and insurance information to the rule engine. Define one ruleset parameter to return the decision results.
D. Define three ruleset variables for the application to pass the driver, vehicle, and insurance input objects. Define one ruleset parameter to return the decision results.
正解:C
質問 3:
The Java method Customer.getLastOrderAmt() is verbalized as last order amt} of {this}? and returns the amount of the last customer order. The rule authors decided that ?amt? should be spelled out as ?amount? in rule artifacts. Many rule artifacts already exist using the ?amt? abbreviation. To address the new requirement, the application developer should:
A. use Alt+Shift+R from a rule editor to rename ?amt? to ?amount? and apply refactoring to the rule artifacts.
B. use a semantic query with an action to refactor the rule artifacts.
C. edit the subject used in the verbalization and apply refactoring to the rules.
D. rename the Business Object Model (BOM) method and perform a BOM update to refactor the rule projects.
正解:C
質問 4:
A Rule Project was developed in Rule Designer and is ready to be tested. To facilitate troubleshooting of ruleset executions using sample data, the application developer needs to build a custom test harness that embeds a native rule engine and uses the IlrRuleset and IlrContext API. What type of project should the application developer create?
A. RuleApp Project
B. Java Project for Rules
C. Rule Project from Decision Center
D. Client Project for RuleApps
正解:B
質問 5:
An application developer is using Decision Validation Services (DVS) to test business rules. The application developer notices that the required column headings in the generated Excel scenario file template do not contain meaningful text. What should an application developer do to make the column headings meaningful before generating a new scenario file template ?
A. Modify the names of the constructor parameters to give them meaningful names.
B. Manually change the column headings in the scenario file template.
C. Specify meaningful names for column headings during scenario file template generation.
D. Specify meaningful names on the Business Object Model (BOM) members corresponding to the required columns.
正解:A