Free CoreSpringV3.2 Exam Braindumps
Core-Spring (based on Spring 3.2) Questions 36–40 (page: 9)

Updated On: 9-Feb-2026

Identify the correct statement(s) about the following pointcut expression:

execution(* rewards..restaurant.*.*(*)) (select one or several answers)

  1. There may be several directories between 'rewards' and 'restaurant'
  2. There is no restriction on the class name
  3. The target method may have several arguments
  4. The return type must not be "void"

Answer(s): A,B



Identify the correct statement about the following pointcut expression:

execution(@javax.annotation.security.RolesAllowed * rewards.restaurant.*.*(..)) (Select one)

  1. The return type of the target method is RolesAllowed
  2. All method parameters should be annotated with @RolesAllowed
  3. The target method may have one argument
  4. All of the above

Answer(s): C



Which of the following statements defines a "pointcut"? (select one)

  1. A point in the execution of a program such as a method call or field assignment
  2. A module that encapsulates advices
  3. An expression that selects one or more join points
  4. None of the above

Answer(s): C



Which of the following statements defines an "aspect"? (select one)

  1. An encapsulation of advice combined with a pointcut.
  2. A point in the execution of a program such as a method call or field assignment
  3. An expression that selects one or more join points
  4. Code to be executed at a join point that has been selected by a Pointcut

Answer(s): A



Identify the correct statement(s) regarding the following pointcut:
execution (@com.springsource.MyCustomAnnotation void *(..))

  1. Spring does not support annotations inside its pointcut expression language
  2. This will select join points representing void methods that are annotated by
    @com.springsource.MyCustomAnnotation
  3. This will select join points representing methods that may have a public, protected or default visibility
  4. This pointcut will in no situation ever be able to select any join points

Answer(s): B



Viewing page 9 of 21
Viewing questions 41 - 45 out of 97 questions


Post your Comments and Discuss SpringSource CoreSpringV3.2 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!