Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 593 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 593
Topic #: 1
[All Certified Platform App Builder Questions]

Northern Trail Outfitters wants to ensure that if a trail record’s Effort_Level__c field is set to Rigorous, then the distance of the trail is 10 miles or more and the time to complete is 5 hours or more.

Which validation rule should enforce this criteria?

  • A. AND(ISPICKVAL(Effort_Level__c, ‘Rigorous’), OR(Distance__c > 10, Time_to_Complete__c > 5))
  • B. AND(ISPICKVAL(Effort_Level__c, ‘Rigorous’), OR(Distance__c < 10, Time_to_Complete__c < 5))
  • C. AND(ISPICKVAL(Effort_Level__c, ‘Rigorous’), Distance__c > 10, Time_to_Complete__c > 5)
  • D. AND(ISPICKVAL(Effort_Level__c, ‘Rigorous’), Distance__c < 10, Time_to_Complete__c < 5)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
true_dev
3 months, 2 weeks ago
C. is correct Validation rule is to check input data. The question is asking to enforce user input. So, all the conditions have to be matched.
upvoted 1 times
...
Zenondanon
5 months, 4 weeks ago
Selected Answer: D
id rather go with D, the conditions are joined with AND
upvoted 1 times
...
Me_71421
8 months ago
Selected Answer: B
there will be error if one of those turn out to be true. Its Validation!
upvoted 2 times
...
MaestroDash
9 months, 2 weeks ago
Selected Answer: B
If one of the values is correct (Distance more than 10 or Time to complete > 5) the D option returns False, then the Validation Rule is not triggering. At B option when one of the 2 values is incorrect the VR returns true, so the error is triggering correctly.
upvoted 3 times
...
KTomov
10 months, 2 weeks ago
Selected Answer: D
The correct answer is D AND(ISPICKVAL(Effort_Level__c, ‘Rigorous’), Distance__c < 10, Time_to_Complete__c < 5) Validation will trigger when the formula validates to true! To make sure the distance is greater than 10 and time to complete more than 5 formula must check if values are less than these numbers and trigger the validation.
upvoted 4 times
MaestroDash
9 months, 2 weeks ago
It's B, no? If one of the values is correct (Distance more than 10 or Time to complete > 5) the D option returns False, then the Validation Rule is not triggering. At B option when one of the 2 values is incorrect the VR returns true, so the error is triggering correctly.
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...