Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer I Topic 4 Question 86 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 86
Topic #: 4
[All Platform Developer I Questions]

Which code in a Visualforce page and/or controller might present a security vulnerability?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Leeann
6 months ago
Wait, is this a trick question? They're all bad, right? I'm just going to bubble in 'C' and hope for the best.
upvoted 0 times
...
Glenn
6 months ago
Haha, I bet the correct answer is something boring like 'All of the above'. Security vulnerabilities? In my Salesforce app? Never!
upvoted 0 times
Rosendo
6 months ago
C) Yeah, security is definitely something to always keep in mind.
upvoted 0 times
...
Olive
6 months ago
B) I think it's important to always be cautious with user input.
upvoted 0 times
...
Lajuana
6 months ago
A) No way, I always make sure my code is secure.
upvoted 0 times
...
...
My
6 months ago
I picked C because user input seemed safer there, but now I’m confused.
upvoted 0 times
...
Karol
6 months ago
I went with D. But now I'm reconsidering after what you said.
upvoted 0 times
...
Lucina
6 months ago
I agree with Billi. Option B seems the riskiest choice here. Gotta be careful with that user input!
upvoted 0 times
Meghann
5 months ago
Yeah, we have to be careful with user input.
upvoted 0 times
...
Malika
6 months ago
I think option B is the riskiest choice.
upvoted 0 times
...
Rima
6 months ago
Yeah, we need to be careful with user input.
upvoted 0 times
...
Jess
6 months ago
I think option B is the riskiest.
upvoted 0 times
...
Omega
6 months ago
Yeah, we need to be careful with user input to avoid security vulnerabilities.
upvoted 0 times
...
Val
6 months ago
I think option B is definitely the riskiest one.
upvoted 0 times
...
...
Pamella
7 months ago
Good point. User input needs to be escaped to prevent malicious scripts.
upvoted 0 times
...
Albina
7 months ago
I think the correct answer is B. Using 'escape=false' could introduce XSS vulnerabilities.
upvoted 0 times
...
Billi
7 months ago
Option B looks the most concerning to me. Outputting user input without escaping it could lead to potential XSS vulnerabilities.
upvoted 0 times
...
My
7 months ago
Yeah, it felt tricky. I'm not super confident about my answer.
upvoted 0 times
...
Karol
7 months ago
Hey, did you check the exam question about security vulnerability in Visualforce page?
upvoted 0 times
...
Lashanda
8 months ago
D)
upvoted 0 times
...
Lauran
8 months ago
C)
upvoted 0 times
...
Mary
8 months ago
B)
upvoted 0 times
...
Fidelia
8 months ago
Which code in a Visualforce page and/or controller might present a security vulnerability?
upvoted 0 times
...