Which two statements are true about Spring AOP? (Choose two.)
Suggested Answer: A, D
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
27 comments · newest first
ST
Stefania
11 months ago
E sounds right, but are there really only 4 types of advice?
LI
Lilli
11 months ago
D is spot on, those are classic cross-cutting concerns.
RY
Ryan
12 months ago
I thought Spring AOP used AspectJ's pointcut language?
PE
Peggie
12 months ago
B is correct too, join points are all about method execution!
JU
Junita
1 year ago
A is definitely true, @After runs no matter what.
AM
Amie
1 year ago
I recall that cross-cutting concerns like security and caching are important in AOP, so option D seems right to me.
MA
Mabelle
1 year ago
I have a vague memory that Spring AOP does use AspectJ's pointcut expressions, which makes me question option C.
AR
Artie
1 year ago
I remember that join points in Spring AOP are related to method executions, so I feel confident about option B.
BR
Brittni
1 year ago
I think the @After advice type is definitely invoked regardless of the method's outcome, but I'm not sure about the exact wording of the other options.
KE
Keneth
1 year ago
The cross-cutting concerns part is straightforward, but I want to double-check the details on the advice types to make sure I have them right.
PR
Precious
1 year ago
I'm a little confused about the join point concept. I'll need to review that part of the material before the exam.
DE
Dewitt
1 year ago
Okay, I've got this. The key is understanding the different advice types and how they work. I'm feeling good about this question.
HA
Hannah
1 year ago
Hmm, I'm a bit unsure about the @After advice type. I'll have to think that one through carefully.
KA
Kara
1 year ago
I'm pretty confident about this one. I know Spring AOP uses AspectJ's pointcut expression language, and there are 5 types of advice, not 4.
CO
Cortney
2 years ago
I'm not sure, but I think D is also a valid statement.
HE
Hector
2 years ago
Hmm, I think E is also true. The 4 advice types are the bread and butter of Spring AOP. This question is testing our Spring knowledge, not our comedy skills!
CA
Candida
2 years ago
Wait, I thought Spring AOP didn't use AspectJ's pointcut language? I could be wrong, but I'm going to go with B and D just to be safe.
SH
Sheron
2 years ago
That's correct! Spring AOP does use AspectJ's pointcut language, and cross-cutting concerns are part of it.
TO
Tony
2 years ago
D) Examples of cross-cutting concerns include security, caching, transaction.
EL
Elliott
2 years ago
A) The @After advice type is invoked regardless of whether a method successfully returned or an exception was thrown.
GI
Gianna
2 years ago
I agree with Matilda, A and B make sense.
MA
Matilda
2 years ago
I think A and B are true.
CH
Christene
2 years ago
Haha, I remember learning about these advice types in my Spring training. 'After' advice is super useful for cleanup tasks, even if an exception is thrown. This question is a breeze!
BR
Brendan
2 years ago
I'm pretty sure B and D are the correct answers. Spring AOP is all about intercepting method calls, and cross-cutting concerns like security, caching, and transactions are classic use cases.
BE
Beula
2 years ago
I agree with you. B and D are the correct answers for Spring AOP.
IN
India
2 years ago
Yes, you're right. B is about method execution and D is about cross-cutting concerns like security and caching.
RO
Ronnie
2 years ago
I think B is correct because a join point represents a method execution. And D is correct too, cross-cutting concerns like security and caching are common in Spring AOP.