Q.1
Tag which defined Spring AOP configurations
  • a) aop:config
  • b) aop:configregister
  • c) aop:configbeans
  • d) None of the mentioned
Q.2
What are the ways to declare an advice?
  • a) pointcut-ref attribute
  • b) pointcut attribute
  • c) all of the mentioned
  • d) none of the mentioned
Q.3
Applying aspects to your target objects
  • a) AspectJ Annotation
  • b) Weaving
  • c) All of the mentioned
  • d) None of the mentioned
Q.4
Special compiler used during weaving
  • a) jvm
  • b) gcc
  • c) ajc
  • d) none of the mentioned
Q.5
Name of the process when targe classes are loaded into JVM
  • a) load-time weaving
  • b) process-time weaving
  • c) load-process weaving
  • d) process-delivery weaving
Q.6
How to weave your classes using argument while compiling?
  • a) -javaagent:CLASSPATH
  • b) -javaagent:PackgePath
  • c) -javaweave:CLASSPATH
  • d) -javaweave:PackagePath
Q.7
XML Element to include load-time weaver
  • a) aop:config
  • b) aop:auto-wire
  • c) context:load-time-weaver
  • d) aop:load-time-weaver
Q.8
Library to use AspectJ weaver
  • a) spring-instrument.jar
  • b) spring-introduction.jar
  • c) spring-aop.jar
  • d) spring-weave.jar
Q.9
Objects created outside the container:-
  • a) Domain Objects
  • b) User Objects
  • c) SpringVisitor Objects
  • d) None of the mentioned
Q.10
How to inject Spring bean into domain objects
  • a) AOP
  • b) XML
  • c) AspectJ
  • d) Java Based
Q.11
We can directly use Spring AOP for injection of beans
  • a) True
  • b) False
Q.12
Which scope does @Configurable instantiated class looks for?
  • a) Singleton
  • b) Prototype
  • c) None of the mentioned
  • d) All of the mentioned
Q.13
Spring includes AnnotationBeanConfigurerAspect in its aspect library for configuring the dependencies of any objects
  • a) True
  • b) False
0 h : 0 m : 1 s