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 DEX-450 Exam - 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:

0/2000 characters
Sina
3 months ago
Wait, how can we be sure these are safe?
upvoted 0 times
...
Nobuko
3 months ago
C looks risky to me.
upvoted 0 times
...
Felix
3 months ago
Not so sure about B, though.
upvoted 0 times
...
Layla
4 months ago
Definitely agree with A!
upvoted 0 times
...
Adelle
4 months ago
I think A and B are safe from SOQL injection.
upvoted 0 times
...
Emmett
4 months ago
I’m a bit confused about the differences between the options. I hope I can remember the examples we went over!
upvoted 0 times
...
Weldon
4 months ago
I practiced a similar question, and I feel like option B might be risky.
upvoted 0 times
...
Bernardine
4 months ago
I think options with bind variables are usually safe from injection. Maybe A and C?
upvoted 0 times
...
Merissa
5 months ago
I remember we discussed SOQL injection in class, but I’m not sure which queries are safe.
upvoted 0 times
...
Launa
5 months ago
This is a good opportunity to demonstrate my knowledge of SOQL injection prevention. I'll carefully consider each query and select the appropriate options.
upvoted 0 times
...
Josefa
5 months ago
Option A looks promising, but I want to double-check the other options as well to make sure I don't miss anything.
upvoted 0 times
...
Giovanna
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to review my knowledge of SOQL injection to make sure I choose the right answers.
upvoted 0 times
...
Ardella
5 months ago
This looks like a tricky SOQL injection question. I'll need to carefully analyze each option to determine which ones are safe.
upvoted 0 times
...
Raelene
5 months ago
I think I know the answer, but I'll go through each option methodically to confirm my understanding.
upvoted 0 times
...
Ilda
5 months ago
Okay, let's see. I'm pretty sure this is a Data transform rule type, since we're copying data from one order to another.
upvoted 0 times
...
Tawny
5 months ago
Okay, let's see. The Diagnostic System Host, Remote Procedure Call, and Security Center all sound like important components that I wouldn't want to mess with. I'm going to go with WLAN AutoConfig as the one that can be changed or disabled.
upvoted 0 times
...
Marvel
5 months ago
I'm a bit unsure about the difference between "many databases" and "separate databases" in the options. I'll need to double-check my understanding there.
upvoted 0 times
...
Krissy
5 months ago
Hmm, I'm not sure about this one. I'll need to think it through carefully.
upvoted 0 times
...
Marva
5 months ago
I remember practicing a question like this where `tx.origin` was discussed, but I feel like `msg.sender` is more common for getting the initiator.
upvoted 0 times
...
Erasmo
9 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
9 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
8 months ago
Always better to be safe than sorry when it comes to preventing SOQL injection.
upvoted 0 times
...
Christiane
9 months ago
Exactly, we need to be cautious with user input to avoid any security risks.
upvoted 0 times
...
Carin
9 months ago
I agree, Option C also keeps user input at bay, making it secure.
upvoted 0 times
...
Maynard
9 months ago
Option B is definitely safe, it doesn't allow any user input to interfere.
upvoted 0 times
...
...
Terrilyn
10 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
8 months ago
Absolutely. It's always better to take precautions to ensure data security.
upvoted 0 times
...
Maile
9 months ago
Definitely. Better to be safe than sorry when it comes to SOQL injection.
upvoted 0 times
...
Sharika
9 months ago
Yeah, I agree. It's important to protect the database from any potential vulnerabilities.
upvoted 0 times
...
Lashaunda
9 months ago
User 3: Keeping those databases safe is crucial.
upvoted 0 times
...
Shawn
9 months ago
User 2: Yeah, can't be too careful with user input.
upvoted 0 times
...
Devorah
10 months ago
User 1: I think B and C are the safe queries.
upvoted 0 times
...
Vivan
10 months ago
I think B and C are the safest choices too. Can never be too careful with user input.
upvoted 0 times
...
...
Nell
10 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
10 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
10 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
10 months ago
I agree with you, Haley. Option A and Option C use binding variables which help prevent SOQL injection.
upvoted 0 times
...
Haley
11 months ago
I think Option A and Option C are safe from SOQL injection.
upvoted 0 times
...
Martina
11 months ago
Can you explain why you think that?
upvoted 0 times
...
Katie
11 months ago
I disagree, I believe options B and D are the safe ones.
upvoted 0 times
...
Martina
11 months ago
I think options A and C are safe from SOQL injection.
upvoted 0 times
...

Save Cancel