Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Plat-Admn-301 Exam - Topic 2 Question 10 Discussion

Posted by Joaquin on May 05, 2026 at 12:46 PM

An administrator has created a flow that sends platform events whenever an opportunity is updated. An Apex developer has been tasked to write code that listens for these events. When reviewing the debug logs for a user, the developer can see that the flow ran, but the debug Information is missing.

What should the administrator recommend to assist with debugging?

Suggested Answer: C

To debug platform events in Apex code, you need to set a debug log on the Automated Process entity. This entity represents an automated process user that runs flows and processes in your org. By setting a debug log on this entity, you can capture the events that are published and consumed by your flow and Apex code, as well as any errors or exceptions that occur during the execution. Reference: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_debug.htm https://help.salesforce.com/s/articleView?id=sf.code_add_users_debug_log.htm&type=5


Get Premium Plat-Admn-301 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
25 comments · newest first
AL
Alberto 8 days ago
A could be useful too, but I’d prioritize C for immediate results.
SU
Susana 13 days ago
Definitely C! It’s straightforward and directly related to the flow.
PE
Pete 18 days ago
I feel like option D is a bit of a stretch. We should focus on built-in tools first.
JA
Jacinta 23 days ago
Option B is misleading. Platform events can be debugged with the right setup.
CR
Cristina 28 days ago
I agree, but isn't option A also important? Debugging events could give more insight.
DE
Delisa 1 month ago
I think option C is the best choice. Setting a debug log on the Automated Process can help track the flow.
SO
Son 1 month ago
I’m leaning towards A as well. It’s crucial for tracking events.
RA
Rachael 1 month ago
C could work too, but A feels more direct for this issue.
LA
Lauryn 2 months ago
Definitely, A seems straightforward. We need to see those logs!
AS
Ashlyn 2 months ago
I feel like option B is misleading. Platform events can be debugged, right?
VA
Valentine 2 months ago
I agree, but isn't option C also useful? Setting a debug log could provide insights.
TE
Tenesha 2 months ago
I think option A is the best choice. Debug Enabled checkbox can help a lot.
ME
Merissa 2 months ago
Wait, are platform events really unavailable for debugging? Sounds odd!
SI
Sina 2 months ago
Definitely agree with A, that should help!
MI
Ming 3 months ago
C) Set a debug log on the Automated Process entity is a solid choice.
AN
Anthony 3 months ago
I thought platform events couldn't be debugged at all?
MI
Micaela 3 months ago
A) Select the Debug Enabled checkbox on platform events.
BE
Beatriz 3 months ago
I remember someone mentioning a tool on the AppExchange that helps with debugging, but I can't recall if it was for platform events specifically.
ST
Stefany 3 months ago
I’m uncertain about the options, but I think platform events might not have their own debug settings, which makes it confusing.
AL
Alberta 4 months ago
I feel like I saw a practice question about enabling debug logs for automated processes. That might be relevant here.
GR
Graciela 4 months ago
I think I remember that platform events can be tricky to debug, but I'm not sure if they have a specific debug option.
AR
Arlette 4 months ago
I recall seeing a tool on the AppExchange that helps with debugging, but I don't think that's the main focus of this question. Maybe option D is a distraction?
SH
Shalon 5 months ago
I practiced a similar question where we had to enable debugging for a flow, so I wonder if option A could be relevant here too.
LI
Linsey 6 months ago
I'm not entirely sure, but I feel like platform events might not provide debug info directly. Could it be option B?
DA
Darrin 6 months ago
I think I remember something about enabling debug logs for automated processes, so maybe option C is the right choice?
0/2000 characters

Save Cancel