All Practice Exams

100+ Free VMware Spring Professional Develop Practice Questions

Pass your VMware Spring Professional Develop (2V0-72.22 / EDU-1202) exam on the first try — instant access, no signup required.

✓ No registration✓ No credit card✓ No hidden fees✓ Start practicing immediately
100+ Questions
100% Free
1 / 100
Question 1
Score: 0/0

Which annotation is used to mark a class as a Spring-managed component eligible for component scanning?

A
B
C
D
to track
2026 Statistics

Key Facts: VMware Spring Professional Develop Exam

60

Exam Questions

VMware (Broadcom)

130 min

Time Limit

VMware

300

Scaled Pass Score

VMware (~76%)

$250

Exam Fee

Pearson VUE

Lifetime

Cert Validity

No renewal required

Spring 5.x

Tech Version

Boot 2.x era

The VMware 2V0-72.22 Spring Professional Develop exam contains 60 questions in 130 minutes and requires a scaled score of 300 (approximately 76%) to pass. It covers Spring Core / IoC, AOP, Data Management with JDBC and JPA, Spring Boot, Spring MVC, REST, Spring Security, and Testing. The exam fee is roughly $250 USD via Pearson VUE and the credential does not expire.

Sample VMware Spring Professional Develop Practice Questions

Try these sample questions to test your VMware Spring Professional Develop exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.

1Which annotation is used to mark a class as a Spring-managed component eligible for component scanning?
A.@Bean
B.@Component
C.@Configuration
D.@Inject
Explanation: @Component is the generic stereotype that tells Spring's classpath scanner to register the class as a bean in the ApplicationContext. The specialized stereotypes @Service, @Repository, and @Controller are themselves meta-annotated with @Component.
2What is the default scope of a Spring bean defined with @Component or @Bean?
A.prototype
B.request
C.singleton
D.session
Explanation: Spring beans default to singleton scope, meaning the container creates exactly one shared instance per ApplicationContext and returns the same reference for every injection or getBean() call.
3Which annotation, placed on a method inside an @Configuration class, registers the method's return value as a bean in the ApplicationContext?
A.@Component
B.@Service
C.@Bean
D.@Autowired
Explanation: @Bean marks a method whose return value should be registered as a Spring bean. The method name is used as the default bean id unless overridden via @Bean(name = "...") or value attribute.
4Which dependency injection style does Spring recommend as a best practice for required dependencies?
A.Field injection with @Autowired
B.Setter injection
C.Constructor injection
D.Method injection via lookup-method
Explanation: The Spring reference documentation recommends constructor injection for mandatory dependencies. It allows fields to be declared final, makes the dependency contract explicit, simplifies unit testing without Spring, and prevents the bean from being constructed in an invalid state.
5Given the following snippet, what does Spring inject into the AccountService constructor? @Service public class AccountService { private final AccountRepository repo; public AccountService(AccountRepository repo) { this.repo = repo; } }
A.Nothing — @Autowired is missing
B.A new AccountRepository instance per injection
C.The AccountRepository bean from the ApplicationContext
D.A proxy that throws NoSuchBeanDefinitionException
Explanation: Since Spring 4.3, when a class has a single constructor, @Autowired is implicit — Spring will resolve and inject the AccountRepository bean from the container. Adding @Autowired explicitly is allowed but unnecessary.
6Which annotation tells Spring to inject the bean named 'primaryDataSource' when multiple DataSource beans exist?
A.@Resource
B.@Qualifier("primaryDataSource")
C.@Primary
D.@Order(1)
Explanation: @Qualifier("primaryDataSource") combined with @Autowired narrows the candidate set to the bean whose id matches. It is the standard way to disambiguate when multiple beans satisfy a type.
7What does the @Configuration annotation do beyond what @Component does?
A.It marks the class as a database configuration
B.It enables CGLIB subclassing so @Bean methods return the same singleton when called within the class
C.It allows the class to be instantiated multiple times
D.It disables component scanning
Explanation: Classes annotated with @Configuration are subclassed by CGLIB at runtime. Calls between @Bean methods inside the same configuration class are intercepted so the container returns the same singleton instead of executing the method again.
8Which annotation activates classpath scanning for components?
A.@EnableAutoConfiguration
B.@ComponentScan
C.@SpringBootConfiguration
D.@Import
Explanation: @ComponentScan (typically placed on an @Configuration class) tells Spring to scan the specified base package(s) for classes annotated with stereotype annotations and register them as beans.
9Which interface is the root of Spring's bean container hierarchy?
A.ApplicationContext
B.BeanFactory
C.ConfigurableEnvironment
D.GenericApplicationContext
Explanation: BeanFactory is the root container interface that defines the basic getBean() contract. ApplicationContext extends BeanFactory and adds enterprise features such as event publishing, internationalization, and resource loading.
10Which lifecycle callback is invoked AFTER all properties have been set but BEFORE the bean is exposed to the container?
A.@PreDestroy
B.@PostConstruct
C.BeanFactoryAware.setBeanFactory()
D.DisposableBean.destroy()
Explanation: @PostConstruct is invoked by Spring after dependency injection is complete and before the bean is put into service. It is the standard JSR-250 hook for one-time initialization logic.

About the VMware Spring Professional Develop Exam

VMware Spring Professional Develop (2V0-72.22) validates skills to build enterprise Java applications using Spring Framework 5.x and Spring Boot 2.x. Topics include Inversion of Control, Aspect-Oriented Programming, JDBC and JPA data access, transaction management, Spring Boot auto-configuration, Spring MVC, Spring Security, RESTful services, and Spring Testing.

Questions

60 scored questions

Time Limit

130 minutes

Passing Score

300 (scaled, ~76%)

Exam Fee

$250 USD (VMware (Broadcom) / Pearson VUE)

VMware Spring Professional Develop Exam Content Outline

32%

Spring Core (Container, Dependency Injection, Bean Lifecycle)

ApplicationContext, BeanFactory, @Component / @Service / @Repository / @Controller stereotypes, @Autowired, @Configuration, @Bean, @ComponentScan, scopes, profiles, @Value, @ConfigurationProperties, @Conditional, BeanPostProcessor

8%

Aspect-Oriented Programming (AOP)

@Aspect, @Pointcut, @Before / @After / @AfterReturning / @AfterThrowing / @Around advice, JoinPoint, ProceedingJoinPoint, proxy mechanics (JDK vs CGLIB), pointcut expressions

10%

Data Management: JDBC, Transactions

JdbcTemplate, RowMapper, NamedParameterJdbcTemplate, @Transactional propagation and isolation, declarative vs programmatic transactions, DataSource and exception translation

10%

Spring Data JPA

JpaRepository, CrudRepository, derived query methods, @Query, @Modifying, paging and sorting, entity lifecycle, EntityManager, persistence context

16%

Spring Boot

@SpringBootApplication, auto-configuration, starters, externalized configuration (application.properties / YAML / @ConfigurationProperties), profiles, Spring Boot Actuator (/health, /info, /metrics), packaging

8%

Spring MVC and REST

@RequestMapping / @GetMapping / @PostMapping, @PathVariable, @RequestParam, @RequestBody / @ResponseBody, @RestController, ResponseEntity, @ControllerAdvice / @ExceptionHandler, content negotiation, RestTemplate / WebClient

8%

Security

Spring Security filter chain, HttpSecurity DSL, authentication and authorization, UserDetailsService, BCryptPasswordEncoder, method security (@PreAuthorize / @PostAuthorize), CSRF, OAuth2 / JWT basics

8%

Testing

@SpringBootTest, @WebMvcTest, @DataJpaTest, MockMvc, @MockBean, TestRestTemplate, JUnit 5 with Spring TestContext Framework, profile-based test configuration

How to Pass the VMware Spring Professional Develop Exam

What You Need to Know

  • Passing score: 300 (scaled, ~76%)
  • Exam length: 60 questions
  • Time limit: 130 minutes
  • Exam fee: $250 USD

Keys to Passing

  • Complete 500+ practice questions
  • Score 80%+ consistently before scheduling
  • Focus on highest-weighted sections
  • Use our AI tutor for tough concepts

VMware Spring Professional Develop Study Tips from Top Performers

1Master Spring Core (32%) first: bean lifecycle, @Autowired resolution rules, scopes, @Configuration vs @Component, and proxy semantics
2Be able to read code snippets and predict the bean wired in — exam questions show short Java configurations and ask which bean is injected
3Memorize @Transactional propagation values (REQUIRED, REQUIRES_NEW, NESTED, SUPPORTS, NOT_SUPPORTED, MANDATORY, NEVER) and when each rolls back
4Practice writing Spring MVC controllers with @RestController, @PathVariable, @RequestBody, ResponseEntity, and @ControllerAdvice exception handlers
5Build at least one Spring Boot application with auto-configuration, Actuator, JPA repositories, MockMvc tests, and a Spring Security HttpSecurity DSL

Frequently Asked Questions

How many questions are on the 2V0-72.22 exam?

The VMware Spring Professional Develop (2V0-72.22) exam delivers 60 multiple-choice questions in 130 minutes. You must score 300 on a scaled scale (roughly 76% raw) to pass. The exam is administered by Pearson VUE at test centers or via OnVUE online proctoring.

What does 2V0-72.22 cost?

The exam fee is approximately $250 USD (verify on the official VMware/Broadcom certification site, where it is listed as EDU-1202). Pricing varies slightly by country due to local taxes. Spring Academy and the official VMware Spring Professional course are recommended preparation paths.

What versions of Spring does 2V0-72.22 cover?

2V0-72.22 targets Spring Framework 5.x and Spring Boot 2.x. Topics tested include the IoC container, @Configuration / @Bean, AOP, JdbcTemplate, Spring Data JPA, Spring Boot starters and auto-configuration, Spring MVC and REST, Spring Security 5, and the Spring TestContext framework with JUnit 5.

Does the certification expire?

VMware Spring Professional certifications do not have a renewal cycle — once earned, the credential is valid for life. However, the underlying technology evolves, so VMware periodically issues new exam codes (for example, 2V0-72.22 succeeds 2V0-72.20). Employers may favor candidates who have certified on the most recent version.

Which domain is the largest?

Spring Core, container, dependency injection, and bean lifecycle is the largest domain at roughly 32% of questions. Mastery of @Component scanning, @Autowired resolution, bean scopes (singleton vs prototype), profiles, @ConfigurationProperties, and BeanPostProcessor lifecycle hooks is essential to pass.

What study resources does VMware recommend?

VMware recommends the official Spring Professional course (D-EDU-1202), the Spring Framework reference documentation, the Spring Boot reference documentation, and the Spring Academy training platform. Hands-on practice building a Spring Boot application with JPA, MVC, Security, and tests is essential.