Which two are required to use transactions in Spring? (Choose two.)
Suggested Answer: A, B
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
14 comments · newest first
GA
Gail
1 year ago
Isn't TransactionInterceptor a bit outdated?
LU
Luisa
1 year ago
I thought you needed @Transaction on the class too.
BR
Brianne
1 year ago
Wait, @Service isn't required? That's surprising!
PA
Paul
1 year ago
Totally agree, those are the essentials!
NA
Nakisha
1 year ago
Gotta use @EnableTransactionManagement and @Transactional for sure.
LI
Lillian
1 year ago
I don't think implementing TransactionInterceptor is necessary, but I could be wrong. I feel like it’s more about the annotations.
LA
Lacresha
1 year ago
I’m a bit confused; I thought we needed @Service for transactions, but I don't recall if it’s mandatory.
MU
Murray
1 year ago
I remember practicing with the @Transactional annotation, so I feel like that has to be one of the answers.
JE
Jerry
1 year ago
I think we definitely need to add @EnableTransactionManagement to the configuration class, but I'm not sure about the second one.
FI
Fidelia
1 year ago
Hmm, I'm a bit unsure about this one. I know @PreAuthorize is used for method-level security, but I'm not sure about the specific use cases it addresses. I'll need to review my notes to make sure I get this right.
DA
Dawne
1 year ago
I think we discussed transferring risks in class, but I'm not sure if ignoring risks is really a valid option according to the syllabus.
ME
Melita
1 year ago
I think I know the answer to this one. An HR Admin can do things like reset user passwords and modify HR properties, but they can't grant roles or configure business rules. Let me double-check that.
TE
Tesha
1 year ago
This is a good question for testing our understanding of the tradeoffs between physical and digital storage. I'll make sure to consider both the locational and security advantages that a bank might have over cloud storage.
PA
Paul
1 year ago
Hmm, I'm a little unsure about this one. The question mentions the "most prevalent" approach, but it's not clear if that means the most common or the recommended approach. I'll have to think through each option carefully.