AOP interview questions

18 AOP questions from the Spring bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Cross-cutting concern?

Junior
  1. A.the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  2. B.the action an aspect takes at a chosen point, such as before, after, or around a method execution
  3. C.an expression that selects which method executions an aspect's advice should apply to
  4. D.a responsibility like logging or security that spans many modules rather than belonging to one

Answer + AI explanation with Pro

2. Which term means: "a responsibility like logging or security that spans many modules rather than belonging to one"?

Junior
  1. A.Join point
  2. B.Pointcut
  3. C.Cross-cutting concern
  4. D.Advice

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Cross-cutting concern — the action an aspect takes at a chosen point, such as before, after, or around a method execution
  2. B.Cross-cutting concern — a responsibility like logging or security that spans many modules rather than belonging to one
  3. C.Cross-cutting concern — a specific point during program execution, in this framework always a method call, where advice can run
  4. D.Cross-cutting concern — a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes

Answer + AI explanation with Pro

4. What is Aspect?

Mid
  1. A.the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  2. B.a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  3. C.a responsibility like logging or security that spans many modules rather than belonging to one
  4. D.a specific point during program execution, in this framework always a method call, where advice can run

Answer + AI explanation with Pro

5. Which term means: "a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes"?

Mid
  1. A.Aspect
  2. B.Cross-cutting concern
  3. C.Pointcut
  4. D.Join point

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Aspect — a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  2. B.Aspect — a responsibility like logging or security that spans many modules rather than belonging to one
  3. C.Aspect — the action an aspect takes at a chosen point, such as before, after, or around a method execution
  4. D.Aspect — an expression that selects which method executions an aspect's advice should apply to

Answer + AI explanation with Pro

7. What is Advice?

Mid
  1. A.a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  2. B.the action an aspect takes at a chosen point, such as before, after, or around a method execution
  3. C.the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  4. D.a responsibility like logging or security that spans many modules rather than belonging to one

Answer + AI explanation with Pro

8. Which term means: "the action an aspect takes at a chosen point, such as before, after, or around a method execution"?

Mid
  1. A.Pointcut
  2. B.Advice
  3. C.Join point
  4. D.Proxy-based weaving

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Advice — a specific point during program execution, in this framework always a method call, where advice can run
  2. B.Advice — an expression that selects which method executions an aspect's advice should apply to
  3. C.Advice — a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  4. D.Advice — the action an aspect takes at a chosen point, such as before, after, or around a method execution

Answer + AI explanation with Pro

10. What is Pointcut?

Mid
  1. A.the action an aspect takes at a chosen point, such as before, after, or around a method execution
  2. B.a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  3. C.an expression that selects which method executions an aspect's advice should apply to
  4. D.a specific point during program execution, in this framework always a method call, where advice can run

Answer + AI explanation with Pro

11. Which term means: "an expression that selects which method executions an aspect's advice should apply to"?

Mid
  1. A.Cross-cutting concern
  2. B.Join point
  3. C.Pointcut
  4. D.Advice

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Pointcut — the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  2. B.Pointcut — an expression that selects which method executions an aspect's advice should apply to
  3. C.Pointcut — a specific point during program execution, in this framework always a method call, where advice can run
  4. D.Pointcut — a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes

Answer + AI explanation with Pro

13. What is Join point?

Mid
  1. A.a specific point during program execution, in this framework always a method call, where advice can run
  2. B.the action an aspect takes at a chosen point, such as before, after, or around a method execution
  3. C.a module encapsulating cross-cutting behavior that pairs a selecting expression with an action applied across many classes
  4. D.a responsibility like logging or security that spans many modules rather than belonging to one

Answer + AI explanation with Pro

14. Which term means: "a specific point during program execution, in this framework always a method call, where advice can run"?

Mid
  1. A.Join point
  2. B.Cross-cutting concern
  3. C.Pointcut
  4. D.Aspect

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Join point — a responsibility like logging or security that spans many modules rather than belonging to one
  2. B.Join point — a specific point during program execution, in this framework always a method call, where advice can run
  3. C.Join point — the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  4. D.Join point — the action an aspect takes at a chosen point, such as before, after, or around a method execution

Answer + AI explanation with Pro

16. What is Proxy-based weaving?

Senior
  1. A.an expression that selects which method executions an aspect's advice should apply to
  2. B.the action an aspect takes at a chosen point, such as before, after, or around a method execution
  3. C.the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation
  4. D.a specific point during program execution, in this framework always a method call, where advice can run

Answer + AI explanation with Pro

17. Which term means: "the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation"?

Senior
  1. A.Aspect
  2. B.Advice
  3. C.Proxy-based weaving
  4. D.Cross-cutting concern

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.Proxy-based weaving — an expression that selects which method executions an aspect's advice should apply to
  2. B.Proxy-based weaving — a responsibility like logging or security that spans many modules rather than belonging to one
  3. C.Proxy-based weaving — a specific point during program execution, in this framework always a method call, where advice can run
  4. D.Proxy-based weaving — the runtime technique wrapping a bean in a generated stand-in, which is why advice is skipped on internal self-invocation

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every AOP question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers