🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Spring AOP and Proxies: all 10 questions

Quiz: Spring AOP and Proxies · Question 10 of 10

Which is a cross-cutting concern?

Which is a cross-cutting concern?

  1. A.Calculating a course's discounted fee
  2. B.Mapping a Course entity to a CourseResponse DTO
  3. C.Logging how long every service method takes
  4. D.Validating that a course title is not blank
Answer & explanation

Correct answer: Logging how long every service method takes

Timing applies to many unrelated methods, so it belongs in an aspect.

Can you get the rest right without peeking?

Take the timed Quiz: Spring AOP and Proxies quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →