VMware vRealize Automation 8.x (2022) — Question 50
Which statement defines a pointcut? (Choose the best answer.)
Answer options
- A. A point in the execution of a program such as a method call or field assignment.
- B. An expression that selects one or more join points.
- C. A module that encapsulated advices.
- D. Code to be executed at each selected join point.
Correct answer: B
Explanation
The correct answer is B, as a pointcut is indeed an expression that specifies which join points to select. Option A describes a join point, while option C refers to an advice module and option D pertains to the code executed at join points, not the selection mechanism itself.