Free CoreSpringV3.2 Exam Braindumps
Core-Spring (based on Spring 3.2) Questions 31–35 (page: 8)

Updated On: 9-Feb-2026

@Configuration public class AppConfig {
@Bean public ClientService clientService() {
ClientServiceImpl clientService = new ClientServiceImpl();
clientService.addClientDao(new ClientDao());
return clientService;
}

In the example above, which statement is NOT true with regards to Spring Java configuration?
(select one)

  1. The declared bean is a singleton by default
  2. This bean might be wrapped by a proxy
  3. This bean cannot use a method starting with "add" to inject a dependency
  4. The bean is of type ClientService

Answer(s): C



ClientService service = applicationContext.getBean(ClientService.class)

Which statement is true with regards to the above example? (select one)

  1. It returns the bean called "ClientService"
  2. It returns a bean of the type ClientService (regardless of its id or name)
  3. This syntax is not valid because the bean id must be specified as a method param
  4. This syntax is not valid because the result of the getBean method should be explicitely cast into ClientService

Answer(s): B



Identify the correct statement about the following pointcut expression. Assume that these 2 classes do not inherit from one another:

Execution (* rewards.service.MyClass.*(..)) && execution(* rewards.service2.MyOtherClass.*(..))
(Select one)

  1. Executions of all public method calls in MyClass and MyOtherClass will be selected by this pointcut
  2. Public methods in MyClass and MyOtherClass which take zero arguments will not be selected by this pointcut
  3. Public methods in MyClass and MyOtherClass which take more than one argument will not be selected by this pointcut
  4. This pointcut will never select any join points

Answer(s): D



Which of the following statements is NOT true concerning the BeanPostProcessor Extension point? (Select one)

  1. BeanPostProcessors are called during the init phase
  2. BeanPostProcessors are called after the dependencies have been injected
  3. BeanPostProcessors are called before the BeanFactoryPostProcessors have been called
  4. Custom BeanPostProcessors can be implemented

Answer(s): C



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

execution(* rewards.restaurant.*Service.find(..))

  1. The target's type should end with "Service"
  2. The target method name could be "findRestaurantById"
  3. The target method should have one argument only
  4. The target method may have several arguments

Answer(s): A,D



Viewing page 8 of 21
Viewing questions 36 - 40 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!