New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 7 Question 86 Discussion

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

A developer creates an application event that has triggered an infinite loop.

What may have caused this problem?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Lashonda
3 months ago
Nah, I don't think that's it.
upvoted 0 times
...
Lon
3 months ago
Wait, 'ontouchend'? That seems odd for an infinite loop!
upvoted 0 times
...
Coral
3 months ago
Definitely sounds like a trigger loop to me.
upvoted 0 times
...
Maryann
4 months ago
I think multiple handlers are the issue here.
upvoted 0 times
...
Gracia
4 months ago
Could be the custom renderer causing it.
upvoted 0 times
...
Paulina
4 months ago
I’m not really clear on the 'ontouchend' event. Could it really cause an infinite loop if it’s unhandled? That seems a bit tricky.
upvoted 0 times
...
Cheryll
4 months ago
I vaguely recall a practice question about event handlers calling triggers, which could lead to loops. Is that what option C is suggesting?
upvoted 0 times
...
Weldon
4 months ago
I think having multiple handlers could definitely create an infinite loop if they trigger each other. That seems plausible.
upvoted 0 times
...
Yaeko
5 months ago
I remember discussing how custom renderers can sometimes lead to unexpected behavior, but I'm not sure if that's the main cause here.
upvoted 0 times
...
Rosamond
5 months ago
I think I've got a strategy for this. I'll start by checking if the event is being fired from a custom renderer, as that seems like a common cause of infinite loops. If that's not the issue, I'll look into whether there are multiple handlers registered for the event. Hopefully, one of those options will lead me to the root cause.
upvoted 0 times
...
Fernanda
5 months ago
I'm a bit confused by this one. Could the event handler calling a trigger be the cause of the infinite loop? Or is it more likely that an unhandled 'ontouchend' event is the culprit? I'll need to do some research to figure this out.
upvoted 0 times
...
Jenelle
5 months ago
Okay, let's see. An infinite loop can happen if the event is fired from a custom renderer, or if there are multiple handlers registered for the event. I'll need to review the code to see if either of those scenarios might be the issue.
upvoted 0 times
...
Noel
5 months ago
Hmm, this seems like a tricky one. I'll need to carefully consider each of the options and think through the potential causes of an infinite loop.
upvoted 0 times
...
Raina
5 months ago
Hmm, McDonnell's comments about the cost of capital estimation for Jensen Gear are interesting. I'll need to carefully consider her concerns and think about the best approach to use, whether it's the CAPM or the build-up method.
upvoted 0 times
...
Oretha
5 months ago
Alright, let's do this. I'm pretty confident that the infrequently accessed data files and read-only tablespaces are the correct answers here. Those seem like the most logical choices for compression using the vxcompress command.
upvoted 0 times
...
Kenneth
5 months ago
If I recall correctly, SNMP was mentioned in context, but it's not the right answer for YANG.
upvoted 0 times
...
Genevieve
5 months ago
This question seems straightforward, I think I can handle it.
upvoted 0 times
...
Donette
10 months ago
Wait, what if the Donettent handler is just an endless loop in itself? That would be a real brainteaser!
upvoted 0 times
Rolland
8 months ago
C) The event handler calls a trigger.
upvoted 0 times
...
Terrilyn
9 months ago
C) The event handler calls a trigger.
upvoted 0 times
...
Raelene
9 months ago
B) The event has multiple handlers registered in the project.
upvoted 0 times
...
Martha
10 months ago
A) The event is fired from a custom renderer.
upvoted 0 times
...
Sheridan
10 months ago
B) The event has multiple handlers registered in the project.
upvoted 0 times
...
Kathrine
10 months ago
A) The event is fired from a custom renderer.
upvoted 0 times
...
...
Melissia
10 months ago
You know, I've heard of devs creating custom renderers that fire off events like crazy. Option A might be the culprit here.
upvoted 0 times
...
Laurel
10 months ago
Haha, unhandled 'ontouchend' event? That's a good one! Sounds like a rookie mistake to me.
upvoted 0 times
Mertie
9 months ago
User 4: Gotta be careful with those event handlers.
upvoted 0 times
...
Jarvis
9 months ago
User 3: I've seen that happen before, always causes trouble.
upvoted 0 times
...
Noel
9 months ago
User 2: Definitely, rookie move for sure.
upvoted 0 times
...
Jade
10 months ago
User 1: Yeah, that's a classic mistake.
upvoted 0 times
...
...
Latonia
10 months ago
Hmm, I'd say it's definitely the event handler calling a trigger. That's a classic recipe for an infinite loop disaster!
upvoted 0 times
Clarence
9 months ago
Yeah, that's a sure way to get stuck in an infinite loop. Better fix that quickly!
upvoted 0 times
...
Maile
10 months ago
Oh no, that's a common mistake. The event handler should never call a trigger.
upvoted 0 times
...
...
Hershel
11 months ago
Oh dear, an infinite loop? That's a tricky one. I'm guessing it might be option B - too many handlers registered for the event.
upvoted 0 times
Lizbeth
9 months ago
Maybe the event being fired 'ontouchend' and being unhandled is causing the issue as well.
upvoted 0 times
...
Cecily
9 months ago
True, calling a trigger in the event handler could also lead to an infinite loop.
upvoted 0 times
...
Vicky
9 months ago
But it could also be that the event is fired from a custom renderer, that's another possibility.
upvoted 0 times
...
Marvel
10 months ago
I think you might be right, having multiple handlers could definitely cause an infinite loop.
upvoted 0 times
...
...
Pete
11 months ago
I think it could also be option D, firing an event 'ontouchend' that is unhandled.
upvoted 0 times
...
Tonja
11 months ago
I disagree, I believe the issue is with option B, having multiple handlers registered.
upvoted 0 times
...
Blythe
11 months ago
I think the problem may be caused by option C, the event handler calling a trigger.
upvoted 0 times
...

Save Cancel