BlackFriday 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 3 Question 91 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 91
Topic #: 3
[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:

Georgiana
4 months ago
As a Salesforce security expert, I can confirm that B is the answer you're looking for. Gotta keep those bad guys out!
upvoted 0 times
Evangelina
2 months ago
Thanks for the info, I'll go with B then.
upvoted 0 times
...
Crista
2 months ago
No, it's actually B.
upvoted 0 times
...
Omega
3 months ago
I think the answer is A.
upvoted 0 times
...
Hester
3 months ago
C) Good to know, I'll be more cautious with my Visualforce pages now.
upvoted 0 times
...
Lorean
3 months ago
B) Thanks for the tip, I'll make sure to watch out for that in my code.
upvoted 0 times
...
Cyndy
3 months ago
A) Incorrect, the correct answer is B.
upvoted 0 times
...
...
Doyle
4 months ago
Hmm, D doesn't seem quite right. Didn't they teach us about the importance of escaping user input in Salesforce dev school?
upvoted 0 times
Whitley
3 months ago
B) Yeah, B is also a potential vulnerability because it's not escaping user input either.
upvoted 0 times
...
Matt
3 months ago
A) That's right, A is the vulnerable code because it's not properly escaping user input.
upvoted 0 times
...
...
Dorthy
4 months ago
Haha, who needs security when you've got magic? Option A all the way!
upvoted 0 times
Lynelle
3 months ago
Definitely, better safe than sorry when it comes to security.
upvoted 0 times
...
Blondell
4 months ago
I agree, option A seems like it could cause a vulnerability.
upvoted 0 times
...
Rossana
4 months ago
Yeah, security is important, I would go with option B.
upvoted 0 times
...
Karl
4 months ago
Option A looks risky, better be careful.
upvoted 0 times
...
...
Michel
4 months ago
I think Option C is the correct answer. Outputting user input without proper sanitization can open up the page to injection attacks.
upvoted 0 times
Bulah
4 months ago
Yes, outputting user input without proper sanitization can lead to injection attacks.
upvoted 0 times
...
Bulah
4 months ago
I agree, option C is definitely a security vulnerability.
upvoted 0 times
...
...
Lenna
4 months ago
I believe option B is also risky, as it allows for unescaped user input to be displayed on the page.
upvoted 0 times
...
Bettina
5 months ago
Option B looks like a security risk. It doesn't escape the user input, which could lead to XSS vulnerabilities.
upvoted 0 times
Nu
4 months ago
Always important to sanitize user input to protect against attacks.
upvoted 0 times
...
Tamar
4 months ago
I agree, not escaping user input can open up security vulnerabilities.
upvoted 0 times
...
Gail
4 months ago
Yeah, not escaping user input can lead to XSS vulnerabilities.
upvoted 0 times
...
Rosalyn
4 months ago
Option B does look risky. It should escape user input to prevent XSS.
upvoted 0 times
...
Lashawnda
4 months ago
I think option B is risky.
upvoted 0 times
...
...
Ozell
5 months ago
I agree with Brittni, because using user input directly in the code can lead to injection attacks.
upvoted 0 times
...
Brittni
5 months ago
I think option A might present a security vulnerability.
upvoted 0 times
...

Save Cancel