Salesforce App Builder Practice Exam

Session length

1 / 20

Which formula is valid in a text formula field on the contact to display the appropriate value for an account's rating?

CASE(Account.Rating, Hot, Hot, Warm, Warm, Cold, Cold, Not Rated)

CASE(Account.Rating, "Hot", "Hot", "Warm", "Warm", "Cold", "Cold", "Not Rated")

The chosen formula is valid because it correctly implements the syntax and requirements for a text formula field in Salesforce. In particular, the CASE function is used to evaluate the value of Account.Rating and return a corresponding text value based on its case. The proper syntax for the CASE function requires that string values be enclosed in quotation marks.

In this scenario, by using quotation marks around each rating value—"Hot", "Warm", and "Cold"—the formula accurately matches against the possible values of Account.Rating. If the account's rating is "Hot", the function returns "Hot"; similarly for "Warm" and "Cold". If none of these match, it defaults to "Not Rated". This direct and precise matching makes this formula suitable for working within the text formula context on the contact record.

Other options do not meet the criteria effectively. For instance, simply referencing Account.Rating would return the raw value directly without any conversion or case handling, which does not fulfill the requirement of displaying an appropriate text value. The use of the TEXT function is also not necessary in this context, as the CASE function already deals with text outputs.

Thus, the use of the CASE function with the properly formatted string values makes the selected formula the correct choice

Account.Rating

Text(Account.Rating)

Next Question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy