Salesforce certification · Exam OmniStudio-Developer

OmniStudio-Developer Mock Exam

Salesforce OmniStudio Developer - Plat-Dev-210

Free OmniStudio-Developer questions on Omnistudio Fundamentals, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Omnistudio Fundamentals questions

1–3 of 3 free
Question 1 Choose 1
A developer needs to configure a calculation procedure to calculation a subtotal using two different depending on whether the input Boolean variable isCustomer is set to true or false. How should a developer configure the calculation procedure to conditionally execute the correct formula?
Show answerHide answer

Correct answer: A Use two separate Calculation Steps with the Conditional Step property selected: use the ISTRUE (is Customer) and NOT (ISTRUE) (is Customer) functions in the Condition syntax.

Explanation

Summary
The requirement is to execute one of two different calculations based on the value of a Boolean variable (isCustomer). In a Calculation Procedure, this conditional logic is implemented using the "Conditional Step" property on individual Calculation Steps. This allows the procedure to evaluate a condition for each step and only execute that step if the condition is true, providing a clear, structured way to handle branching logic.

Correct Option

A. Use two separate Calculation Steps with the Conditional Step property selected: use the ISTRUE (isCustomer) and NOT (ISTRUE(isCustomer)) functions in the Condition syntax.
This is the correct and most explicit method. It involves creating two distinct Calculation Steps.

The first step has its Conditional Step property enabled with the condition ISTRUE(isCustomer). This step's formula will only execute if isCustomer is true.

The second step also has Conditional Step enabled with the condition NOT(ISTRUE(isCustomer)). This step's formula will only execute if isCustomer is false.

This ensures that only one of the two calculations runs, providing clean and reliable conditional logic.

Incorrect Option

B. Use two separate Calculation Steps with the Conditional Step property selected: reference just the isCustomer variable in the Conditional syntax (no comparison necessary)
This is incorrect. The condition field must evaluate to a Boolean value. Simply referencing isCustomer without a function or operator is syntactically invalid in the condition syntax. The condition must be a full expression, such as ISTRUE(isCustomer).

C. Use two separate Calculation Steps with the Conditional Step property selected: compare the isCustomer variable directly to the literal true and false values in the Condition syntax.
This approach is flawed. You cannot compare a variable directly to the literals true or false in the Calculation Procedure's condition syntax. The correct way to check a Boolean variable is to use the ISTRUE() or ISFALSE() functions. A direct comparison like isCustomer == true would not be recognized.

D. Use a single Calculation Step with an IF statement directly in the formula definition to reference the isCustomer variable and conditionally perform the appropriate calculation.
While a single complex formula with an IF statement might work in some contexts, it violates the principle of using the dedicated "Conditional Step" feature for this purpose in Calculation Procedures. Using Conditional Steps is the more declarative, manageable, and best-practice approach for this scenario, as it keeps the individual formulas simpler and the logic flow more visible.

Reference
Salesforce OmniStudio Developer Guide: Calculation Step Properties
Question 2 Choose 1
In a calculation procedure, what is required for the output of a calculation step to be used in an aggregation step?
Show answerHide answer

Correct answer: D It must be included in the calculation output.

Explanation

Explanation:

A Calculation Procedure is used to perform complex multi-step calculations. Its structure involves:

Calculation Steps: These steps perform the individual operations (e.g., formulas, matrix lookups).
Aggregation Step: This final step gathers results from the calculation steps to produce the overall procedure output.
For the result of a calculation step to be available for use in the Aggregation Step, it must be explicitly defined in the Calculation Output of that step.

Here’s the logical flow:
Each calculation step has its own Input and Output configuration.
The fields listed in a step's "Calculation Output" are the results that step produces.
The Aggregation Step can only reference and combine outputs that have been declared in the Calculation Output of previous steps.
If a value is computed but not included in the Calculation Output of its step, it is considered an intermediate variable and is not passed forward to the Aggregation Step.

Why the other options are incorrect:

A. It must be included in constants:
Constants are fixed values defined in the procedure's setup. They are input into calculation steps, not the output from them.

B. It must be a matrix lookup step:
The type of step (e.g., Formula, Matrix Lookup) does not matter. Any step—whether it's a Formula, Matrix Lookup, or another type—must have its result included in its Calculation Output to be used later.

C. It must be a calculation step:
This is tautological (true by definition). The output in question is already from a calculation step. However, this statement misses the specific requirement that the output must be explicitly declared to be passed on.

Reference:
Salesforce OmniStudio Documentation:
The "Calculation Procedures" section explains the data flow. It explicitly states that the Aggregation Step "aggregates the output from multiple calculation steps," meaning it can only use what those steps have emitted in their output.
Question 3 Choose 1
A developer needs to configure a calculation procedure to calculate the sum of the entire base price.
What is the most efficient way for the developer to meet this requirement?
Show answerHide answer

Correct answer: B Add an Aggregation Step as SUM (BasePrice)

Explanation

Summary
The requirement is to calculate the sum of a specific field (BasePrice) across all records in a dataset. This is a classic aggregation operation. The most efficient method is to perform this calculation at the database level or within the data processing engine, which is designed for such operations, rather than moving the data into a more complex, custom-coded environment like Apex.

Correct Option

B. Add an Aggregation Step as SUM (BasePrice)
This is the most efficient solution. An Aggregation Step within a DataRaptor Transform is specifically designed for this purpose. It performs the SUM operation directly on the dataset as it is being processed by the OmniStudio engine. This is a declarative and optimized approach that avoids the overhead of Apex and efficiently calculates the total without requiring custom code.

Incorrect Option

A. Create a Postprocessor Apex class to calculate the sum.
This is inefficient and against best practices. A Postprocessor Apex class would require the entire dataset to be passed into Apex, where a loop would then be written to calculate the sum. This is a programmatic and resource-intensive approach for a simple aggregation that the platform's declarative tools can handle more efficiently.

C. Add a Calculation Step as SUM (BasePrice).
A Calculation Step in a DataRaptor Transform is used to create a new calculated field for each individual record (e.g., LineTotal = Quantity * UnitPrice). It cannot perform an aggregation (like SUM, COUNT) across all records in the dataset. It operates on a row-by-row basis, not on the entire dataset.

D. Create a Preprocessor class to calculate the sum.
A Preprocessor Apex class runs before the DataRaptor and is typically used to modify input data. It does not have access to the full dataset of records that the DataRaptor will process, so it cannot calculate a sum of a field across all records. This is the wrong tool for the job.

Reference
Salesforce OmniStudio Developer Guide: Aggregation Step in DataRaptor Transform

That's the last free question in Omnistudio Fundamentals

You've seen the free 30% (3 of 12 questions). Full access unlocks every question and full-length OmniStudio-Developer mock exams (60 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the OmniStudio-Developer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real OmniStudio-Developer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full OmniStudio-Developer mock exam
  • 60questions per mock
  • 105 mintime limit
  • 173questions in the bank
  • Newmock on every attempt