Industries-CPQ-Developer Practice Test

Salesforce Spring 25 Release -
Updated On 10-Nov-2025

322 Questions

The Discount Duration field is applicable to which type of discount?

A. Order-Based

B. Account-Based

C. Contract-Based

C.   Contract-Based

Explanation:

The Discount Duration field in Salesforce Industries CPQ is specifically used with Contract-Based Discounts. These discounts are tied to a contractual agreement and often span a defined period, such as 12 or 24 months.

Why Contract-Based is correct:
The Discount Duration field defines how long the discount remains active.
It’s typically used in retention, loyalty, or negotiated contract scenarios.
Example: A customer signs a 24-month contract and receives a 15% discount for the full term.

Why the other options are incorrect:

A. Order-Based: These are one-time discounts applied to a specific order or quote. They don’t require a duration field.
B. Account-Based: These apply discounts at the account level but are not governed by a fixed duration unless implemented via custom logic.

The developer notices that the Digital Commerce APIs are returning incorrect or no results. Which cache should the developer refresh?

A. CPQPartition cache

B. CachedAPHtesponse cache

C. VlodtyMetadata cache

D. VlocityAPIResponse cache

D.   VlocityAPIResponse cache

Explanation:

In Salesforce Industries (Vlocity) CPQ, the Digital Commerce APIs rely on the VlocityAPIResponse cache to store and retrieve responses for performance optimization. If APIs return incorrect or missing data:
Refresh the VlocityAPIResponse cache to force the system to:
Rebuild API response data from the latest source (e.g., updated products, prices).
Clear stale or corrupted entries causing errors.

How to Refresh:
Run the "Regenerate Cached API Records" job (or equivalent cache-clearing tool).

Why Other Options Are Incorrect?

A. CPQPartition cache → Manages pricing partitions, not API responses.
B. CachedAPIResponse cache → Doesn’t exist (typo in the option; likely refers to VlocityAPIResponse).
C. VlocityMetadata cache → Stores metadata (e.g., templates, rules), not API payloads.

What tasks must be done when moving product catalog data containing product attributes between orgs or spinning a sandbox? (Choose TWO)
Note: This question displayed answer options in random order when taking this Test.

A. Regenerate the attribute record ids stored in the JSONAttribute field

B. Refresh Pricebook, which runs the ProductAttributeBatchProcessor job

C. Run the Product Hierarchy Maintenance batch job

D. Use Data Loader to load attribute record ids

A.   Regenerate the attribute record ids stored in the JSONAttribute field
B.   Refresh Pricebook, which runs the ProductAttributeBatchProcessor job

Explanation:

When moving product catalog data that includes product attributes between orgs or spinning up a new sandbox in Salesforce Industries CPQ, certain tasks are essential to ensure that attribute references and pricing logic remain intact.

✅ A. Regenerate the attribute record IDs stored in the JSONAttribute field
The JSONAttribute field contains serialized attribute data, including record IDs.

These IDs are org-specific, so when data is migrated to a new org or sandbox, the original IDs become invalid.

You must regenerate these IDs to match the new org’s attribute records, ensuring proper Cart behavior and attribute rendering.

✅ B. Refresh Pricebook, which runs the ProductAttributeBatchProcessor job
This job updates the Pricebook entries and ensures that attribute-based pricing is correctly linked to the new org’s attribute records.

It also helps reprocess attribute metadata and pricing rules that depend on attribute values.

Why the other options are incorrect:

C. Run the Product Hierarchy Maintenance batch job
This job is used to rebuild product hierarchy relationships, not attribute references.
It’s helpful for bundle structures but not required for attribute migration.

D. Use Data Loader to load attribute record IDs
Incorrect approach: You should not manually load attribute record IDs via Data Loader.
This risks mismatches and broken references, especially since IDs differ across orgs.

Which field on a Vlocity Picklist is primarily evaluated programmatically either by Vlocity CPQ or Vlocity Order Management?
Note: This question displayed answer options in random order when taking this Test.

A. Text value

B. Label

C. Code

D. Abbreviation

A.   Text value

Explanation:

In Salesforce Industries CPQ (Vlocity), the Text value field on a Vlocity Picklist is the one primarily evaluated programmatically by both CPQ and Order Management engines.

Why Text value is correct:
It holds the actual value used in rule evaluations, decompositions, and API payloads.
This value must be unique and is treated as the canonical identifier for the picklist entry.
It’s used in logic such as:
Context rule evaluations
Order decomposition mappings
Attribute-based pricing and filtering

📌 Example: If a picklist for Connectivity includes values like "GPS" or "Cellular", the Text value field stores "GPS" — which is what the system uses to match against rule conditions or pricing logic.

Why the other options are incorrect:
B. Label: This is the user-facing display name shown in the Cart UI. It’s not used in backend logic.
C. Code: Often used for internal identification or naming conventions (e.g., PLI_GPS), but not evaluated in rule logic.
D. Abbreviation: Optional field used for UI shortening or display purposes — not involved in programmatic evaluation.

Context Dimension Domain Types include:

A. Picklist

B. Object Lookup

C. Type In

D. All of the above

D.   All of the above

Explanation:

In Salesforce Industries CPQ, Context Dimensions are variables used in context rules to evaluate runtime conditions like account type, SLA tier, or region. Each context dimension must be assigned a Domain Type, which defines how values are selected or entered when building rule conditions.

Here are the valid Domain Types:

A. Picklist
Uses a Vlocity Picklist to define allowed values.
Ideal for standardized options like Account Status, SLA Tier, or Region.
Example: Gold, Silver, Platinum

B. Object Lookup
Allows selection of a specific record from a Salesforce object (sObject).
Useful when rules depend on related object data (e.g., Account, Product2).
Example: Lookup to a specific Account or Promotion record.

C. Type In
Enables free-form text entry for rule conditions.
Useful for flexible matching when picklists or lookups aren’t practical.
Example: Entering a custom string like "Enterprise" or "Consumer"

Page 1 out of 65 Pages