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 DEX-450 Topic 12 Question 88 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 88
Topic #: 12
[All DEX-450 Questions]

Assuming that name is a String obtained by an tag on a Visualforce page, which two SOQL queries performed are safe from SOQL injection? Choose 2 answers

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Erasmo
1 months ago
Hey, at least they didn't ask about SOQL injection on a Visualforce page made with Comic Sans. That would just be the icing on the cake of this security nightmare!
upvoted 0 times
...
Cassandra
1 months ago
B and C, no doubt. Anything that tries to sneak in user input directly is just begging for a security breach. It's like inviting a hacker to a party - not a good idea!
upvoted 0 times
Wendell
6 days ago
Always better to be safe than sorry when it comes to preventing SOQL injection.
upvoted 0 times
...
Christiane
24 days ago
Exactly, we need to be cautious with user input to avoid any security risks.
upvoted 0 times
...
Carin
26 days ago
I agree, Option C also keeps user input at bay, making it secure.
upvoted 0 times
...
Maynard
1 months ago
Option B is definitely safe, it doesn't allow any user input to interfere.
upvoted 0 times
...
...
Terrilyn
2 months ago
I'm going with B and C. Can't be too careful with SOQL these days, especially when dealing with user input. Gotta keep those databases safe and sound, you know?
upvoted 0 times
Peggy
15 days ago
Absolutely. It's always better to take precautions to ensure data security.
upvoted 0 times
...
Maile
21 days ago
Definitely. Better to be safe than sorry when it comes to SOQL injection.
upvoted 0 times
...
Sharika
26 days ago
Yeah, I agree. It's important to protect the database from any potential vulnerabilities.
upvoted 0 times
...
Lashaunda
1 months ago
User 3: Keeping those databases safe is crucial.
upvoted 0 times
...
Shawn
2 months ago
User 2: Yeah, can't be too careful with user input.
upvoted 0 times
...
Devorah
2 months ago
User 1: I think B and C are the safe queries.
upvoted 0 times
...
Vivan
2 months ago
I think B and C are the safest choices too. Can never be too careful with user input.
upvoted 0 times
...
...
Nell
2 months ago
Definitely B and C. Anything that uses string concatenation like A and D is just asking for trouble. Not today, SOQL injection!
upvoted 0 times
...
Leah
2 months ago
I think B and C are the safest options here. Using a SOQL query with a bind variable like that is the way to go to avoid injection attacks.
upvoted 0 times
...
Leatha
3 months ago
I'm not sure about Option B and Option D. They seem to directly concatenate the input which can lead to SOQL injection.
upvoted 0 times
...
Chantay
3 months ago
I agree with you, Haley. Option A and Option C use binding variables which help prevent SOQL injection.
upvoted 0 times
...
Haley
3 months ago
I think Option A and Option C are safe from SOQL injection.
upvoted 0 times
...
Martina
3 months ago
Can you explain why you think that?
upvoted 0 times
...
Katie
3 months ago
I disagree, I believe options B and D are the safe ones.
upvoted 0 times
...
Martina
3 months ago
I think options A and C are safe from SOQL injection.
upvoted 0 times
...

Save Cancel