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 8 Question 5 Discussion

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

Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Daryl
4 months ago
I agree with B, super helpful for reducing redundancy!
upvoted 0 times
...
Miriam
4 months ago
D is misleading, it's not before each test, just once!
upvoted 0 times
...
Lai
4 months ago
Wait, C? Really? I thought we could update those records.
upvoted 0 times
...
Iola
4 months ago
B is right too, saves time on data setup!
upvoted 0 times
...
Dyan
4 months ago
A is definitely true, can't mix those annotations.
upvoted 0 times
...
Tresa
5 months ago
I recall that the @testSetup method runs before each test method, but I’m not completely sure if that’s what option D is saying.
upvoted 0 times
...
Malcolm
5 months ago
I think option B is definitely true because the test data is set up once and used across all test methods, which saves time.
upvoted 0 times
...
Isabelle
5 months ago
I remember that the @testSetup annotation is really useful for creating common test data, but I'm not sure if it can be used with SeeAllData=True.
upvoted 0 times
...
Regenia
5 months ago
I feel like I might be mixing up the details, but I think records created in @testSetup can be updated in the test methods, right?
upvoted 0 times
...
Ressie
5 months ago
I'm feeling a little lost on this one. The wording of the question and the options are a bit confusing to me. I'll need to carefully read through each choice and think it through step-by-step.
upvoted 0 times
...
Dan
5 months ago
Hmm, I'm a bit unsure about this one. I know truncate is used to delete data, but I'm not sure if it's specifically for damaged databases. Let me think this through a bit more.
upvoted 0 times
...
Johanna
5 months ago
This seems pretty straightforward. I'll start by writing out the YAML manifest and then apply it to the cluster. That way I can ensure I have all the required elements.
upvoted 0 times
...
Zana
5 months ago
I'm a bit confused about the difference between dBi and dBd. I'll need to review those concepts before answering.
upvoted 0 times
...
Mindy
5 months ago
Okay, let me see... social engineering, that's where the attacker manipulates the victim into giving up private data, right? Yeah, that sounds like the best match for the description in the question.
upvoted 0 times
...

Save Cancel