Multiple Choice FC OS DM Flashcards

1
Q

A developer needs to retrieve customer Account data and calculate a custom loyalty score (not stored in Salesforce) to display in an OmniScript. The account data resides in a single Salesforce object. Which DataRaptor type should be used to meet these requirements?
A) DataRaptor Turbo Extract
B) DataRaptor Extract
C) DataRaptor Transform
D) Integration Procedure

A

Answer D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An OmniScript calls an external web service that returns a JSON response with a complex, nested structure (multiple levels deep). The OmniScript needs to use some of that data in a flattened format. What OmniStudio tool can simplify (transform) the JSON structure before the OmniScript uses it? (Choose 2)
A) DataRaptor Transform
B) DataRaptor Extract
C) Integration Procedure with Response Action
D) DataRaptor Turbo Extract

A

Anwer A,C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An OmniScript needs to create a new Account record and multiple related Contact records when the user submits the form. The developer wants to minimize the number of separate save operations to improve performance. Which approach should be used? (Choose 2)
A) Use a single DataRaptor Load with Link Mapping to create the Account and related Contacts in one execution.
B) Use an Integration Procedure that calls multiple DataRaptor Load actions (one for Account, one for all Contacts) in sequence.
C) Use a DataRaptor Turbo Extract to save both Account and Contacts in one go.
D) Have the OmniScript save the Account first, then loop through and save each Contact with separate DataRaptor calls.

A

Answer A,B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

An OmniScript currently uses five separate DataRaptor Extract calls in sequence to gather data from multiple objects. Users report the OmniScript is slow. What is a recommended way to improve performance?
A) Combine the data calls into a single Integration Procedure that calls the necessary DataRaptors, and have the OmniScript invoke that Integration Procedure once.
B) Replace DataRaptor Extracts with custom Apex REST calls to retrieve the data in one round trip.
C) Convert the DataRaptor Extracts into DataRaptor Turbo Extracts.
D) Increase the timeout setting on the OmniScript to accommodate the multiple calls.

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The development team is reviewing OmniStudio DataRaptor design best practices. Which two guidelines should they follow to optimize DataRaptor performance? (Choose 2)
A) Limit each DataRaptor to no more than three Salesforce objects whenever possible.
B) Include all available fields in the DataRaptor to future-proof for new requirements.
C) Retrieve and return only the data that is needed (filter out unnecessary fields and records).
D) Avoid using filters or conditions in DataRaptors; instead, retrieve all data and handle it in the client.

A

Answer A, C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A FlexCard needs to display customer information that comes from multiple sources: Salesforce data and an external billing system. Which data source type is best suited for this FlexCard?
A) Integration Procedure
B) DataRaptor Extract
C) Apex Remote (Apex class)
D) SOQL Query

A

answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A developer is designing a FlexCard to show a list of open Case records with a few key fields. The data comes from a single Salesforce object and no complex data manipulation is required. What is the optimal data source for this FlexCard to maximize performance?
A) DataRaptor Turbo Extract
B) Integration Procedure
C) Apex REST
D) Calculation Procedure

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A parent FlexCard shows a list of Account records. For each account, it should embed a child FlexCard that displays that account’s Contact details. The child FlexCard should use data passed from the parent (instead of querying again). Which two steps should the developer take to configure this? (Choose 2)
A) Mark the child FlexCard as a Child Card (set the card type to “Child” when creating it).
B) Set the child FlexCard’s Data Source to None, so it accepts data from the parent card.
C) Give the child FlexCard the same data source as the parent FlexCard.
D) Add a Navigate Action on the parent card to open the child FlexCard in a new page.

A

Answer A, B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A FlexCard for Account details needs an “Edit Account” button that launches an OmniScript to let users update the account information. How can the developer configure this in the FlexCard?
A) Add an Action (of type Navigate) on the FlexCard that launches the OmniScript, passing the Account Id as a parameter.
B) Embed the OmniScript directly into the FlexCard as a child element.
C) Use a DataRaptor Load Action to invoke the OmniScript.
D) Use a Flyout on the FlexCard that contains the OmniScript.

A

Answer D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A FlexCard displays a list of an account’s contacts. If the list is empty (the account has no contacts), the card should show a message “No contacts found.” How can this be achieved?
A) Define an additional state on the FlexCard with a condition that checks if there are zero contacts, and display the “No contacts found” message in that state.
B) Add a DataRaptor Transform to output a message when no records are returned.
C) Use an OmniScript inside the card to detect absence of contacts and show a message.
D) This happens automatically; the FlexCard will display a default message when no data is returned.

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An OmniScript and a FlexCard are both visible on a Lightning page. When the OmniScript saves an update to a record, the FlexCard (which shows that record’s info) should refresh to show the changes. What is a recommended approach to accomplish this?
A) Have the OmniScript publish an event (using the LWC pub/sub or Lightning Message Service) after save, and configure the FlexCard to listen for that event to refresh itself.
B) The FlexCard data will automatically refresh when the OmniScript completes.
C) Use a formula field in the FlexCard to poll for changes to the record.
D) Write a custom Lightning component to refresh the FlexCard on demand.

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A call center agent needs a guided script to walk through multiple screens for collecting customer information and creating a service request, with some branches in the flow based on the user’s answers. Which OmniStudio tool is best suited for this use case?
A) OmniScript
B) FlexCard
C) Integration Procedure
D) DataRaptor

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A developer wants an OmniScript to pre-fill some fields with data from an existing Account record when the script is launched (for example, launching the OmniScript from an Account detail page should pre-populate known information). What are two ways to accomplish this prefill? (Choose 2)
A) Use a DataRaptor Extract or Integration Procedure at the start of the OmniScript to retrieve the Account data by Id and map it into the OmniScript’s data JSON.
B) Pass the Account’s data (or at least the Account Id) into the OmniScript’s ContextId/Seed JSON when launching it, so the OmniScript starts with that data.
C) Enable a setting on the OmniScript called “Auto Prefill from Salesforce” (no such direct setting exists without configuration).
D) Have the FlexCard or Lightning page embed the OmniScript and push the Account field values into the OmniScript via a custom event after it loads.

A

Answer A, B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In an OmniScript, Step 1 collects eligibility information. If the customer is not eligible, the OmniScript should immediately skip to a final step that displays an ineligibility message, bypassing the remaining intermediate steps. How can the developer implement this logic declaratively?
A) Use conditional view logic on the steps: only display the subsequent steps if the customer is eligible, and have a separate step for the ineligible message that appears when applicable.
B) Add a Decision element in the OmniScript to jump to the last step when not eligible.
C) Use a DataRaptor to dynamically remove the intermediate steps from the script.
D) It’s not possible to skip steps in an OmniScript once it’s started.

A

Answer A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

An OmniScript requires a field where the user selects an existing Account (for example, to associate a case with an account). The user should be able to type part of the account name and see a list of matching accounts to choose from. What OmniScript element and data source should the developer use to meet this requirement? (Choose 2)
A) A TypeAhead element in the OmniScript for the account lookup input.
B) A DataRaptor Load to search for matching Account records.
C) An Integration Procedure that performs a SOQL/SOSL query for accounts based on the user’s input.
D) A Edit Block element with a lookup field

A

Answer A, C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A developer is debating whether to use a DataRaptor Turbo Extract instead of a standard DataRaptor Extract for a new FlexCard. Which two facts about DataRaptor Turbo Extract should be considered in this decision? (Choose 2)
A) It can only retrieve data from one Salesforce object per DataRaptor (though it can include fields from related objects via reference fields).
B) It supports formulas and complex mappings just like a standard DataRaptor Extract.
C) It is optimized for performance and executes faster than a standard Extract when its limitations are acceptable.
D) It can be used to save or update records as well as retrieve them.

A

Answer A, C

17
Q

The business wants to allow users filling out a lengthy OmniScript form to save their progress and resume later. How can this functionality be enabled?
A) Enable the “Allow Save for Later” option in the OmniScript’s setup properties, which provides a Save button for users to save a draft and resume.
B) Add a DataRaptor Load Action in the OmniScript to save the data to a custom object whenever the user clicks a custom “Save” button.
C) Use the browser’s local storage to auto-save the OmniScript JSON.
D) OmniScripts automatically support pause and resume without any configuration.

18
Q

An OmniScript is active in production. The development team needs to enhance it with new fields and logic for a new requirement, but must ensure the current version continues to run for users in progress. What is the proper way to make the update?
A) Clone the OmniScript to create a new Version, apply the changes in the new version, test it, then activate the new version when ready.
B) Edit the active OmniScript directly in production so the changes apply immediately.
C) Deactivate the current OmniScript, then make changes and reactivate it.
D) Build the changes in an Integration Procedure instead of the OmniScript to avoid versioning.

19
Q

An OmniScript needs to fetch real-time shipping status from an external tracking system via a REST API call. According to OmniStudio best practices, what is the recommended way to incorporate this data into the OmniScript?
A) Write an Apex class to call the API, and invoke it with a Remote Action from the OmniScript.
B) Use a DataRaptor Extract to call the external API endpoint.
C) Create an Integration Procedure that uses an HTTP Action to call the external REST API, and have the OmniScript invoke that Integration Procedure.
D) Embed an external web page in the OmniScript that shows the tracking information.

20
Q

An Integration Procedure is being called multiple times during a single OmniScript interview with the same input data, resulting in redundant server processing. How can the developer optimize the Integration Procedure for this scenario?
A)There is no way to avoid re-execution of an Integration Procedure for repeated calls. Enable caching for the Integration Procedure (or for specific steps within it) so that repeat calls with identical inputs return cached results instead of re-executing.
B) Increase the CPU time limit for the Integration Procedure to handle the extra load.
C) Convert the Integration Procedure into a Calculation Procedure for faster execution.
D) Enable caching for the Integration Procedure (or for specific steps within it) so that repeat calls with identical inputs return cached results instead of re-executing.

21
Q

An Integration Procedure gathers data from several actions. However, the OmniScript that calls it only needs a small portion of the composite output. How can the developer configure the Integration Procedure to send back only the needed data to the OmniScript?
A) Use a DataRaptor Transform inside the Integration Procedure to strip out extra data before returning.
B) Enable the “Minimize Output” checkbox on each element (this option doesn’t exist in this form).
C) Use a Response Action at the end of the Integration Procedure to define a filtered output JSON that includes only the required data.
D) The OmniScript can simply ignore the unused parts; no changes are needed.

22
Q

An OmniScript requires some server-side logic that cannot be accomplished with declarative tools, so a custom Apex method has been written. How can the OmniScript (or its Integration Procedure) invoke this Apex?
A) Use a Remote Action element in an Integration Procedure (or OmniScript) to call the Apex class method.
B) Use a DataRaptor Load to run the Apex logic.
C) Call an Apex REST API from a HTTP Action in an Integration Procedure.
D) Use a Calculation Action to execute the Apex.

23
Q

A FlexCard needs to show additional details in a pop-up panel when a user clicks “View Details” on a record, without navigating away from the current page. Which FlexCard feature should be utilized for this requirement?
A) Use a hover tooltip with the extra details.
B) Use a new state on the FlexCard that becomes visible on click.
C) Launch a small OmniScript in a modal dialog.
D) Use a Flyout on the FlexCard, triggered by the “View Details” action, to display the additional information in a pop-up.

24
Q

A developer wants to include a custom chart inside a FlexCard to visualize data, but no standard FlexCard component exists for this chart. What is the recommended way to embed this custom UI in the FlexCard?
A) Build a custom Lightning Web Component for the chart and embed it in the FlexCard using a Custom LWC element.
B) Use an OmniScript to render the chart and embed that OmniScript in the card.
C) Convert the chart into an image and display the image in the FlexCard.
D) It is not possible to insert custom UI components into a FlexCard.

25
A team is creating a customer 360 dashboard that shows an Account’s details, related metrics, and provides in-place actions like editing a field or launching a detailed view. The requirement is primarily to display aggregated data with some inline actions in one view, not a guided flow. Which OmniStudio tool should they use, and why? A) An OmniScript, because it can combine data from multiple sources and guide the user through multiple pages. B) A FlexCard, because it can display data from multiple sources in a single view and provide inline action elements (ideal for a dashboard). C) An OmniScript, because only OmniScripts can invoke actions like edits (FlexCards are read-only). D) A FlexCard, because OmniScripts cannot display data from more than one object on the same page
Answer B
26
An OmniScript has a checkbox “Use Different Shipping Address.” When checked, additional address input fields should appear for the alternate address; when unchecked, those fields should be hidden. How can the developer implement this behavior? A) Use a formula field in the OmniScript to dynamically add/remove the address fields. B) Use a Decision element in an Integration Procedure to determine which fields to show. C) Require the user to navigate to a new step for the different address. D) Place the additional address inputs in a Block, and set a conditional rendering rule on that Block to only display when “Use Different Shipping Address” is true.
Answer D
27
At the start of an OmniScript, the business wants to display a welcome message and instructions to the end user (static text). Which OmniScript element should the developer use to display this static content? A) A Text Block element for the welcome message and instructions B) A Step element with a custom template C) A Static DataRaptor to bring in the text D) An Edit Block with read-only fields
Answer A
28
A DataRaptor Extract is required to retrieve an Account and all of its related Contacts in one go. What is the recommended way to set this up in the DataRaptor without using multiple extract actions? A) Use a DataRaptor Extract with two Extract Steps—one for the Account and one for the related Contacts filtered by AccountId. B) Create one DataRaptor for Account and another for Contacts, then merge the results in an Integration Procedure. C) Use a Calculation Procedure to first get Accounts, then loop through Contacts. D) This cannot be done in a single DataRaptor; separate calls are required.
Answer A
29
An external system can only accept data in XML format, but the OmniScript currently has the data in JSON format. How can the developer send an XML payload to the external system using OmniStudio tools? A) Configure a DataRaptor Extract’s output format as XML to transform the OmniScript data JSON into XML. B) Use a DataRaptor Transform to reformat JSON to XML by setting the Output Format of the Transform step to XML, and use the result as the payload in an Integration Procedure’s HTTP Action. C) Call the external system via Integration Procedure and let it handle JSON (it cannot, per scenario). D) Use a Remote Action to invoke an Apex class that converts JSON to XML.
Answer B
30
The team is reviewing an OmniScript for usability. Which two design best practices should the developer follow to improve the OmniScript’s user experience? (Choose 2) A) Prefill any known information into the OmniScript so the user doesn’t have to re-enter data that the system already knows. B) Put all input fields on a single step/page to avoid multiple clicks. C) Break up a long process into smaller steps or screens to make it easier for the user to follow and avoid overwhelming them with too many fields at once. D) Display every piece of data and optional field available, to ensure the user has all information (even if it makes the UI busy).