nerdexam
IBM

C2170-010 · Question #17

Which of the following are valid ways to enforce that a value be mandatory for a given attribute?

The correct answer is A. Write custom logic at method level in the Java class C. Specify the name of the field in the Mandatory_Fields property of the modeled operation's argument struct. See the full explanation below for the reasoning.

Question

Which of the following are valid ways to enforce that a value be mandatory for a given attribute?

Options

  • AWrite custom logic at method level in the Java class
  • BConfigure the Require_Mandatory property of the entity's attribute to be set to true
  • CSpecify the name of the field in the Mandatory_Fields property of the modeled operation's argument struct
  • DWrite a custom Java function to check for a value being present and specify the function on the Custom_Validation_Function_Name propertyof the relevant Domain Definition

How the community answered

(34 responses)
  • A
    74% (25)
  • B
    18% (6)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full C2170-010 Practice