certified-omnistudio-developer Salesforce Certified OmniStudio Developer Practice Questions
Prepare for certified-omnistudio-developer with more than an answer.
Unlock the full exam and previous versions
- v1Salesforce Certified OmniStudio Developer 120 questions Locked
- certified-omnistudio-developerLegacy Salesforce Certified OmniStudio Developer 164 questions Current
- Exam fee
- $200 USD
- Level
- Intermediate
- Valid for
- Ongoing maintenance required
Domains covered on the exam 6
- FlexCards15%
- OmniScripts20%
- Integration Procedures17%
- DataRaptors (OmniStudio Data Mappers)20%
- Expression Sets and Decision Matrices8%
- Integrated Troubleshooting and Deployment20%
- 1
A developer needs to display a list of related cases on an Account FlexCard. The number of cases can vary. Which FlexCard element is specifically designed to iterate through an array of records and display them as a list?
Show answer details
Correct answer: C
The Datatable element in FlexCards is designed to display data from an array in a tabular format. By enabling the 'Repeat Records' option on an element, it will iterate through the array provided by the data source. However, the Datatable element is the standard tool for displaying a structured list with columns.
- 2
When configuring the 'Done' action in an OmniScript, what is the primary purpose of the 'LWC PubSub' feature?
Show answer details
Correct answer: B
LWC PubSub (Publish-Subscribe) is a communication mechanism. Configuring this on the 'Done' action allows the OmniScript to broadcast an event containing its final data JSON. Other components, typically custom LWCs, on the same Lightning page can listen (subscribe) to this event and react accordingly, enabling seamless component interaction without a full page refresh.
- 3
A developer is building an Integration Procedure that calls an external, legacy SOAP web service. The web service requires the input to be in a specific XML format. Which combination of Integration Procedure elements is required to construct the XML request and parse the XML response?
Show answer details
Correct answer: D
For SOAP/XML integrations, you typically use a Set Values element to build the XML request body string. The HTTP Action then sends this body. To parse the XML response, you use path notation (e.g.,
HTTPActionName:Envelope:Body:ResponseNode) in subsequent elements, like a Response Action, to extract the necessary data from the XML structure. - 4
True or False: A DataRaptor Transform can only change the structure of a JSON object; it cannot be used to add new key-value pairs that did not exist in the input JSON.
Show answer details
Correct answer: B
A DataRaptor Transform can add new key-value pairs to the output JSON. This can be done by defining a new output path and providing a literal value, a formula, or mapping it from an input path. This functionality is crucial for enriching or reshaping data.
- 5
A developer receives a JSON array of leads from a legacy system. The requirement is to transform this flat list into a nested JSON structure where leads are grouped by their
Cityproperty. Which DataRaptor Transform feature is specifically designed for this type of list-to-grouped-map transformation?graph LR subgraph Input direction LR A[{"Name":"A", "City":"SF"}] B[{"Name":"B", "City":"NY"}] C[{"Name":"C", "City":"SF"}] end subgraph Output direction LR D["SF": [{"Name":"A"}, {"Name":"C"}]] E["NY": [{"Name":"B"}]] end Input -->|DR Transform| OutputShow answer details
Correct answer: B
DataRaptor Transforms have a powerful feature where the Output JSON Path can include a merge code from the input list. By using a path like
GroupedLeads:%Lead.City%, the DataRaptor will dynamically create keys in theGroupedLeadsmap based on the value of theCityfield for each item in the input list, effectively grouping the items. - 6
A financial services company is using an OmniScript to guide wealth managers through a client risk assessment. The final step calculates a 'Risk Score' based on multiple inputs. The business logic requires that if the client's 'InvestibleAssets' are greater than $1,000,000 AND their 'RiskTolerance' is 'High', a 10-point bonus is added to the 'BaseScore'. Which OmniScript element is most efficient for implementing this specific calculation logic without calling an external action?
Show answer details
Correct answer: B
The Formula element is specifically designed for performing calculations within an OmniScript. It can handle complex conditional logic like the IF statement required here (e.g.,
IF(%InvestibleAssets% > 1000000 && %RiskTolerance% == 'High', %BaseScore% + 10, %BaseScore%)). While a Set Values element can perform simple assignments and some functions, a Formula element is the most direct and efficient tool for this type of calculation. - 7
A developer is building a FlexCard to display customer case information. The requirement is to show a 'High Priority' icon only when a case's
Priorityfield is 'High' and itsStatusfield is not 'Closed'. What is the most declarative way to achieve this conditional rendering on the FlexCard?Show answer details
Correct answer: C
FlexCards provide a built-in 'Render' property on elements for conditional visibility. This property can be configured with conditions using operators like AND, OR, and NOT. The most declarative and efficient approach is to set a condition such as
Priority == 'High' AND Status != 'Closed'directly on the icon element. - 8
A developer needs to create a complex pricing engine for an insurance product using OmniStudio. The engine must evaluate dozens of rules based on customer age, location, driving record, and vehicle type. The rules are expected to change frequently based on market conditions. Which OmniStudio Business Rules Engine component is best suited for managing and executing this large, volatile set of rules?
Show answer details
Correct answer: B
Decision Matrices are ideal for managing large sets of conditional rules in a tabular format. They allow business users to easily view, manage, and update rules without developer intervention, which is perfect for a volatile rule set like a pricing engine. Expression Sets are better for sequential calculations and formulas, not for evaluating a large matrix of independent rules.
- 9
During the performance testing of an Integration Procedure, a developer notices a significant delay. The debug log reveals that a DataRaptor Extract Action, which queries a large number of Account records, is the bottleneck. The DataRaptor only fetches fields from the Account object and uses simple
WHEREclauses on indexed fields. What is the most effective way to optimize this data retrieval step?Show answer details
Correct answer: A
DataRaptor Turbo Extract is specifically designed for high-performance data retrieval from a single Salesforce object. Since the query is simple, uses indexed fields, and only targets the Account object, it is a perfect candidate for a Turbo Extract, which will significantly improve performance over a standard DataRaptor Extract.
- 10
A developer needs to orchestrate a multi-step process: first, retrieve contact details from Salesforce; second, call an external REST API to get credit score data; and third, update the contact record with the credit score. The entire process must be callable from both an OmniScript and a FlexCard. Which OmniStudio tool should be used to build this reusable business process?
Show answer details
Correct answer: C
Integration Procedures are server-side processes designed to orchestrate multiple actions, such as fetching Salesforce data (via DataRaptors), calling external systems (via HTTP Actions), and writing data back (via DataRaptors). They are ideal for creating reusable business logic that can be invoked from various OmniStudio components like OmniScripts and FlexCards.
