BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware 2V0-72.22 Exam - Topic 10 Question 45 Discussion

Posted by Janessa on Apr 22, 2024 at 09:10 PM

Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)

Suggested Answer: B, C

Get Premium 2V0-72.22 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
AM
Amie 12 months ago
@SqlMergeMode(false) doesn't commit, just saying!
KA
Kathryn 12 months ago
I thought @Transactional(commit=true) was a thing?
AL
Alesia 1 year ago
Wait, @Sql(alwaysCommit=true) isn't one of them?
AN
Annice 1 year ago
Totally agree, those are the right choices.
FE
Fernanda 1 year ago
@Rollback(false) and @Commit are the ones!
HU
Hubert 1 year ago
I’m leaning towards @Transactional(commit=true) as one of the answers, but I need to double-check my notes on this.
TI
Timmy 1 year ago
I feel like @Sql(alwaysCommit=true) could be a possibility, but I can't recall if it specifically relates to transactions.
JO
Jovita 1 year ago
I remember practicing a question like this, and I think @Commit might be the right choice too.
SE
Serina 1 year ago
I think @Rollback(false) is definitely one of the answers, but I'm not sure about the second one.
TU
Tula 1 year ago
I feel pretty confident about this one. The options seem straightforward, and I'm familiar with the relevant annotations. I'll double-check my understanding, but I think I can nail this question.
MA
Markus 1 year ago
This is a good test of my understanding of transaction management in testing frameworks. I'll need to draw on my knowledge of the different annotations and their purposes to determine the two correct answers here.
KE
Keshia 1 year ago
Hmm, I'm a bit unsure about this one. The options seem to cover different aspects of transaction management, but I'll need to make sure I understand the nuances of each annotation to determine the correct answers.
DA
Dalene 1 year ago
This looks like a straightforward question on transaction management in testing. I'll need to carefully review the options and think about which ones indicate that the transaction should be committed after the test method completes.
CH
Cherri 1 year ago
Okay, I think I've got a handle on this. The key is to identify the annotations that explicitly state the transaction should be committed after the test method finishes. I'll carefully consider each option and select the two that best fit that criteria.
BR
Brittni 1 year ago
I think the key here is to make sure the trackExternalLinks variable is set before the s.t() call. Option B seems like the most direct approach, and I don't see a need to set the other config variables unless the question specifies that.
FR
France 1 year ago
Wait, what? A weekly pet insurance premium from a quadratic equation? I'm totally lost on this one.
MA
Marion 1 year ago
Hmm, the zero in the second column is throwing me off. I'm not sure if that's normal behavior or indicates something specific about the egress router.
VA
Val 2 years ago
I believe @Sql(alwaysCommit=true) could be a valid answer too.
ST
Stevie 2 years ago
@SqlMergeMode(false) isn't correct for committing the transaction.
GL
Glen 3 years ago
I agree with @Commit. But not sure about @Rollback(false).
OM
Omer 3 years ago
I think @Rollback(false) and @Commit are the right answers.
IZ
Izetta 3 years ago
Yeah, tricky one. Which annotations commit the transaction after the test?
ST
Stevie 3 years ago
Hey, did you see the question about transactional test methods?
MA
Mary 3 years ago
Oh, I see. Thanks for clarifying.
MA
Markus 3 years ago
Actually, it's @Commit and @Transactional(commit=true).
MA
Mary 3 years ago
I think the annotations indicating that the transaction should be committed are @Commit and @Rollback(false).
0/2000 characters

Save Cancel