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 4 Question 39 Discussion

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

There is an Apex controller and a Visualforce page in an org that displays records with a custom filter consisting of a combination of picklist values selected by the user.

The page takes too long to display results for some of the input combinations, while for other input choices it throws the exception, *Maximum view state size limit exceeded.

What step should the developer take to resolve this issue?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Millie
4 months ago
Definitely need to look into the view state size limits.
upvoted 0 times
...
Malcolm
4 months ago
Splitting the layout might just complicate things more.
upvoted 0 times
...
Junita
4 months ago
Wow, I didn't know transient could cause view state issues!
upvoted 0 times
...
Frederic
4 months ago
I disagree, C seems more efficient for limiting records.
upvoted 0 times
...
Dominga
4 months ago
B is the way to go, picklist values aren't indexed.
upvoted 0 times
...
Osvaldo
5 months ago
I recall that transient variables are supposed to help with view state issues, so I'm not convinced that removing them would be the solution.
upvoted 0 times
...
Ashton
5 months ago
I'm not entirely sure, but I feel like splitting the layout into two pages might just complicate things more than necessary.
upvoted 0 times
...
Marguerita
5 months ago
I remember we discussed view state limits in class, and I think using a StandardSetController could help manage the data better.
upvoted 0 times
...
Terina
5 months ago
I think we practiced a question where adjusting filters helped with performance. Maybe option B is the right approach since picklist values aren't indexed.
upvoted 0 times
...
Mariann
5 months ago
This seems like a straightforward question about best practices for service management. I'll carefully read through the options and think about which one aligns best with the given statement.
upvoted 0 times
...
Lavera
5 months ago
Okay, let's see here. I know equals, lessThan, and notEqualTo are common comparison operators, so those are likely supported. I'm not as sure about greaterThanEqual, but I'll give it a try.
upvoted 0 times
...
Lajuana
5 months ago
Honestly, I don't remember this principle coming up specifically. However, it seems relevant to charging losses, but I can't be too certain about that.
upvoted 0 times
...

Save Cancel