Free Salesforce Plat-Dev-210 Exam Questions (page: 3)

A developer needs to change some field labels on a FlexCard. The FlexCard is currently deployed to production. The developer that the best course of action is to version the FlexCard rather than cloning it.
Which factor would lead the developer to this decision?

  1. The new version of the FlexCard will be used in a new Console, and the current version of the FlexCard should remain unchanged.
  2. Another team member is developing new actions, fields, and styling for the current version of the FlexCard.
  3. The new and current versions will be displayed together on the same target.
  4. All instances of the FlexCard must be updated with the changes.

Answer(s): D

Explanation:

Versioning a FlexCard allows the developer to make changes to the FlexCard without affecting the existing instances of the FlexCard. The developer can choose to update all instances of the FlexCard with the new version or keep them as they are. This is useful when the changes are minor and do not affect the functionality or layout of the FlexCard. Cloning a FlexCard creates a copy of the FlexCard with a new name and ID. The developer can make changes to the cloned FlexCard without affecting the original FlexCard. This is useful when the changes are major and require a different configuration or design of the FlexCard1. In this case, since all instances of the FlexCard must be updated with the changes, versioning is the best course of action.



A developer needs to use the CONTIF function to process data entered by the user in an OmniScript. The output of the function needs to be displayed to the user immediately in the current step. Based on best practice, what element should the developer use this function in?

  1. A Calculation Action element
  2. A Set Values element
  3. A formula element
  4. A Range element

Answer(s): C

Explanation:

A formula element allows the developer to define formulas using functions and operators to manipulate data in an OmniScript. The output of the formula element can be displayed to the user immediately in the current step using a display element. The CONTIF function counts how many times a value appears in a list1. A Calculation Action element executes a calculation procedure and returns the output as a JSON object. A Set Values element assigns values to variables or fields in an OmniScript. A Range element defines a range of values for a variable or field in an OmniScript1.

Based on best practice, a formula element is the most suitable element to use the CONTIF function in this scenario.



A developer needs to transform contact data into a JSON array.



Given the input JSON shown above, what are two ways a developer could configure a DATA Raptor transform to achieve the expected Output JSON? Choose 2 answers

  1. Use a formula LIST(Contact), and add the output of the formula as the input in the Transform tab.
  2. Set the Input JSON path as List(Contact) and the Output JSON Path as Contact.
  3. Set the Input JSON Path as Contact the out JSON Path as Contact and the output Data type as List.
  4. Set the input JSON Path as Contact and the OutPut JSON Path as List (Contact)

Answer(s): A,C

Explanation:

A DataRaptor Transform can be used to transform data from one format to another, such as JSON, XML, or CSV. The developer can specify the input and output paths for each field in the Transform tab. The developer can also use formulas to manipulate data in the Formula tab1. To transform contact data into a JSON array, the developer can use either of these methods:
Use a formula LIST(Contact), and add the output of the formula as the input in the Transform tab. This will create a list of contact objects from the input JSON and output it as a JSON array. Set the Input JSON Path as Contact, the Output JSON Path as Contact, and the Output Data Type as List. This will output each contact object as an element of a JSON array.



A developer is creating a Flex Card for a new Community page. The FlexCard will display case information along with action to close the case and update the case. And it will be styled using the Community's theme.
What must be developer do to configure the FlexCard for deployment in a community?

  1. Add the FlexCard's API name to FlexCard Player component
  2. Set the Target property in publishing Options to the Community page''
  3. Configure the Component visibility in the custom Component.
  4. Set the Developer property in Card Configuration to `'Community''

Answer(s): B

Explanation:

The Target property in publishing Options determines where the FlexCard will be displayed. Setting it to the Community page will make the FlexCard available in the community



Why would a developer clone an Integration Procedure instead of versioning it?

  1. The new Integration Procedure uses a Cache Block.
  2. The new Integration Procedure it replacing stub data.
  3. The new Integration Procedure will be used independently
  4. The new Integration Procedure is Chainable.

Answer(s): C

Explanation:

Cloning an Integration Procedure creates a copy of it that can be modified and used independently from the original one. This is useful when the new Integration Procedure has a different purpose or functionality than the original one



Viewing page 3 of 22
Viewing questions 11 - 15 out of 103 questions



Post your Comments and Discuss Salesforce Plat-Dev-210 exam prep with other Community members:

Plat-Dev-210 Exam Discussions & Posts