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 Exam PDI 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
30 days 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
Hester
2 days ago
C) Good to know, I'll be more cautious with my Visualforce pages now.
upvoted 0 times
...
Lorean
11 days ago
B) Thanks for the tip, I'll make sure to watch out for that in my code.
upvoted 0 times
...
Cyndy
13 days ago
A) Incorrect, the correct answer is B.
upvoted 0 times
...
...
Doyle
1 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
24 days ago
B) Yeah, B is also a potential vulnerability because it's not escaping user input either.
upvoted 0 times
...
Matt
27 days ago
A) That's right, A is the vulnerable code because it's not properly escaping user input.
upvoted 0 times
...
...
Dorthy
2 months ago
Haha, who needs security when you've got magic? Option A all the way!
upvoted 0 times
Lynelle
26 days ago
User1: Definitely, better safe than sorry when it comes to security.
upvoted 0 times
...
Blondell
29 days ago
User3: I agree, option A seems like it could cause a vulnerability.
upvoted 0 times
...
Rossana
30 days ago
User2: Yeah, security is important, I would go with option B.
upvoted 0 times
...
Karl
1 months ago
User1: Option A looks risky, better be careful.
upvoted 0 times
...
...
Michel
2 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
1 months ago
Yes, outputting user input without proper sanitization can lead to injection attacks.
upvoted 0 times
...
Bulah
1 months ago
I agree, option C is definitely a security vulnerability.
upvoted 0 times
...
...
Lenna
2 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
2 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
1 months ago
User 3: Always important to sanitize user input to protect against attacks.
upvoted 0 times
...
Tamar
1 months ago
User 2: I agree, not escaping user input can open up security vulnerabilities.
upvoted 0 times
...
Gail
2 months ago
User2: Yeah, not escaping user input can lead to XSS vulnerabilities.
upvoted 0 times
...
Rosalyn
2 months ago
User 1: Option B does look risky. It should escape user input to prevent XSS.
upvoted 0 times
...
Lashawnda
2 months ago
User1: I think option B is risky.
upvoted 0 times
...
...
Ozell
2 months ago
I agree with Brittni, because using user input directly in the code can lead to injection attacks.
upvoted 0 times
...
Brittni
2 months ago
I think option A might present a security vulnerability.
upvoted 0 times
...

Save Cancel