U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 9 Question 46 Discussion

As part of a custom development, a developer creates a Lightning component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:* Amount, Probability, Stage, or Close DateHow should the developer access the data that must be displayed?
B) Create custom a custom date field on Opportunity for each field to track the previous date and execute a SOQL query for date fields.
A) Execute a SOQL query for Amount, Probability, Stage, and Close Date on the OpportunityHistory object.
C) Subscribe to the Opportunity Change Data Capture event in the Lightning component.
C) Subscribe to the OpportunityHistory Change Data Capture event in the Lightning component.

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 9 Question 46 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 46
Topic #: 9
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

As part of a custom development, a developer creates a Lightning component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:

* Amount, Probability, Stage, or Close Date

How should the developer access the data that must be displayed?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Tonette
7 months ago
Wait, can you really track all those changes with just one SOQL query?
upvoted 0 times
...
Antonio
7 months ago
Totally agree with A, it's straightforward and efficient!
upvoted 0 times
...
Jacinta
8 months ago
C sounds interesting, but is it reliable?
upvoted 0 times
...
Ilene
8 months ago
I think B is a bit overkill for this.
upvoted 0 times
...
Kattie
8 months ago
Option A is the way to go! SOQL on OpportunityHistory is perfect.
upvoted 0 times
...
Hermila
8 months ago
I thought the OpportunityHistory object was the right choice, but I wonder if there's a better way with Change Data Capture events instead.
upvoted 0 times
...
Martin
8 months ago
I feel like creating custom date fields might be overkill, but I can't recall if that's a common practice for tracking changes.
upvoted 0 times
...
Lon
8 months ago
I remember practicing a question about Change Data Capture, and it seems like subscribing to those events could be a good way to get real-time updates.
upvoted 0 times
...
Carol
8 months ago
I think we might need to use the OpportunityHistory object to track changes, but I'm not entirely sure if that's the best approach.
upvoted 0 times
...
Isaiah
8 months ago
Hmm, I'm a bit unsure about this one. The sequence diagrams all look similar, so I'll need to really focus on the details to figure out which one is correct. I might need to review my notes on sequence diagram conventions before answering.
upvoted 0 times
...
Lashaunda
9 months ago
I feel like the answer might be close to 1.64%, but I may need to double-check my calculations just to be safe.
upvoted 0 times
...
Gregg
9 months ago
I'm a little confused by this question. Is it asking about the physical storage space on the database server, or the logical data type definition? I'll have to think it through carefully.
upvoted 0 times
...
Lazaro
9 months ago
I've got this! The correct answers are C and D - creating a bootstrap file with the mgmt-interface-swap command, and using the Google Cloud Console Metadata Field. Easy peasy.
upvoted 0 times
...
Genevieve
9 months ago
This one seems pretty straightforward. I'm thinking it's probably TLS since that's the security protocol used for communication between the WAN Edge and the controllers.
upvoted 0 times
...

Save Cancel