VMware
Spring Professional Develop (2V0-72.22) practice questions
- Questions
- 88
- Exam length
- 130 min
- Passing score
- 300
- Instant feedback per question
- Explanation for every option
- Free, no signup
Exam overview 2V0-72.22
Ask a working Spring developer which framework version 2V0-72.22 tests and you will usually get the wrong answer. The exam behind the Spring Certified Professional 2024 credential was written against Spring Framework 5.3, Spring Data 2021.0 and Spring Boot 2.5, so its items still speak javax. and META-INF/spring.factories while production code in 2026 runs on Boot 3 and jakarta.. Broadcom administers it now, having taken the programme over from VMware, which inherited it from Pivotal. Note also that the exam name and the credential name differ: you sit Spring Professional Develop and you earn Spring Certified Professional 2024.
The people this paper suits are backend developers who already ship Spring services — two years of Java behind them and six to twelve months of actual framework work, which is the experience Broadcom's minimally qualified candidate profile describes. It is not an operations exam. Nothing here asks you to size a cluster, patch a runtime or read a vCenter alarm; the subject is what your code does once the container starts. Administrators who run Spring platforms instead of writing them will recognise every word and still miss the point of most items.
Six areas make up the blueprint — Spring Core, Data Management, Spring MVC, Testing, Security and Spring Boot — and none of them comes with a published percentage, so treat any weighting table you find online as somebody's guess. The 5.3/2.x baseline is the detail worth arguing about, and it matters less than it looks: bean scopes, constructor injection, proxy-based transactions, JdbcTemplate row mapping, @WebMvcTest slices, @PreAuthorize and @ConditionalOnMissingBean behave the same way in Boot 3. What shifted between the generations is packaging — the jakarta namespace, spring.factories giving way to AutoConfiguration.imports — not the semantics these items probe.
Questions here are written against those semantics. A @Transactional method that calls its sibling through this never crosses the proxy, so the propagation attribute you set has no effect; a @Bean guarded by @ConditionalOnMissingBean disappears the moment you declare your own; a @WebMvcTest slice needs @MockBean because the service was never scanned. Each online practice question ships with a detailed answer explanation that names the mechanism, and a timed run shows which of them you cannot yet reason through.
Begin with the free questions and find out whether your first wrong answer is about behaviour or about naming.
Sample questions 9 of 88 shown
-
Q1
If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)A stereotype annotation such as @Component only marks a class as a candidate; something must actually scan the package. @ComponentScan (implicitly included in @SpringBootApplication, which scans the package of the main class and below) tells Spring which packages to search for @Component, @Service, @Repository and @Controller classes. The bean name defaults to the decapitalized class name, so option A is unnecessary, and @Scope only controls lifecycle, not discovery. -
Q2
Which two options will inject the value of the daily.limit system property? (Choose two.)Two distinct mechanisms are involved.${...}is a property placeholder resolved by the Environment (and system properties are one of its PropertySources), so@Value("${daily.limit}")works.#{...}is SpEL, and thesystemPropertiesmap is exposed as a SpEL variable, so#{systemProperties['daily.limit']}works — bracket syntax is required because the key contains a dot.#{daily.limit}would try to evaluate a bean/property nameddaily, and#{systemProperties.daily.limit}tries to navigate nested properties that do not exist. -
Q3
Which two options are REST principles? (Choose two.)Statelessness is a core REST constraint: each request carries everything needed to process it, so the server stores no client session state (which rules out D). REST uses the uniform interface of HTTP — methods, headers, media types and status codes — as the contract between client and server. Caching is explicitly encouraged in REST (responses must be labelled cacheable or not), and REST promotes loose, not tight, coupling. -
Q4
Which option is true about use of mocks in a Spring Boot web slice test? (Choose the best answer.)In a slice test such as @WebMvcTest, collaborators are not part of the sliced context, so they must be supplied as beans. @MockBean registers a Mockito mock in the test ApplicationContext (and replaces an existing bean definition of that type if one exists). A plain @Mock only creates a mock object in the test instance; it is not registered in the context and therefore cannot satisfy @Autowired dependencies. -
Q5
Which two statements are true regarding Spring Security? (Choose two.)Spring Security supports method-level authorization through @PreAuthorize, @PostAuthorize, @Secured and JSR-250 annotations (enabled with @EnableGlobalMethodSecurity), and it retrieves credentials from many sources — in-memory, JDBC, LDAP, a custom UserDetailsService, OAuth2/OIDC. JAAS is optional and not required; permitAll() still passes the request through the filter chain (it merely authorizes everyone), and Spring Security is not a strict Java EE Security implementation. -
Q6
Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)spring-boot-starter-web brings in Tomcat as an embedded container, started automatically with the application. Excluding spring-boot-starter-tomcat and adding spring-boot-starter-undertow (or Jetty) swaps the container. The default port is 8080, not 8088, and no in-memory database is started unless a JDBC/JPA starter plus an embedded driver are present. -
Q7
Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)spring-boot-starter-test ships JUnit 5, Mockito (including spies), AssertJ, Hamcrest and spring-test, and it supports both full integration tests (@SpringBootTest) and slice tests (@WebMvcTest, @DataJpaTest, @JsonTest, @RestClientTest). @SpringBootTest and @SpringJUnitConfig both bootstrap an ApplicationContext for the test. @Mock comes from Mockito and @MockBean from spring-boot-test, not from spring-test; EasyMock is not included. -
Q8
The exhibit shows update1() making a direct internal call to update2(), which is declared with @Transactional(propagation = Propagation.REQUIRES_NEW). The application uses Spring's proxy-based transaction management. Choose the statement that describes what is happening when the update1 method is called? (Choose the best answer.)Spring's declarative transactions are applied by a proxy that wraps the bean. When update2() is invoked with a plainthis.update2()call from inside the same bean, the call never crosses the proxy boundary, so no transaction interceptor runs and REQUIRES_NEW has no effect. Only the outer call, which entered through the proxy, starts a transaction — hence a single transaction. -
Q9
Which two statements are true concerning constructor injection? (Choose two.)Since Spring 4.3 a single constructor is used for injection implicitly, so @Autowired is optional (it is still needed to disambiguate when several constructors exist). Constructor injection lets fields be final, makes dependencies explicit and allows a class to be instantiated with plainnewin a unit test, which is why it is preferred over field injection. A constructor can of course accept any number of parameters.
Reader reviews 23 ratings
-
Great VMware exam preparation tool. The 2V0-72.22 questions are current and the interface is clean and easy to use.
-
Ended up buying three different 2V0-72.22 prep resources and this was by far the most helpful one. Don’t waste money on others.
-
Very realistic 2V0-72.22 exam simulation. The timer feature helped me practice pacing before the actual test.
-
Straight to the point. No filler, just good 2V0-72.22 practice questions with clear explanations. Exactly what I needed.
-
Covered all five domains of the 2V0-72.22 exam thoroughly. I especially appreciated the detailed breakdowns for the tricky questions.
-
Got 856 out of 900 on the 2V0-72.22 exam. This question bank was my primary study resource. Highly recommend.
Frequently asked questions
Does 2V0-72.22 test Spring Boot 2.x or Spring Boot 3?
Boot 2.x, not Boot 3. Broadcom wrote the blueprint against Spring Framework 5.3, Spring Data 2021.0 and Spring Boot 2.5, which is why items show javax. imports and META-INF/spring.factories rather than jakarta. and AutoConfiguration.imports. Practice questions written for Boot 3 teach a namespace this paper never uses.
What is the difference between Spring Professional and Spring Certified Professional 2024?
They are the same credential under two labels. Spring Professional was the Pivotal and VMware name, and Broadcom now issues it as Spring Certified Professional 2024 while keeping the exam titled Spring Professional Develop. The 2024 marks the edition, not an expiry date, so job boards may still show the older title.
How hard is the 2V0-72.22 exam?
Harder than its reputation. Nothing asks you to recite annotation names; items put a configuration class or a controller in front of you and ask what the container will do, so self-invocation that bypasses the transaction proxy or a missing @ComponentScan catches developers who only read tutorials. Six to twelve months of real Spring work is the published baseline.
What does a passing score of 300 actually mean on a scaled range?
Read 300 as a threshold, not a percentage. Scores are reported on a 100 to 500 scale, and the raw-to-scaled conversion is recalculated for each exam form, so nobody outside Broadcom can tell you how many correct answers 300 equals. Treat every 76 percent claim as an estimate.
How close is a 2V0-72.22 mock exam to the style of the real items?
Close enough to expose the same traps. Each item is a code exhibit or a scenario rather than a definition, and the multiple-response ones ask you to find every true statement — the format that punishes half-right reasoning hardest. Explanations name the mechanism that decides the answer, not just the option letter.
Does the Spring Certified Professional 2024 certification expire?
Broadcom publishes no expiry date for it. The credential carries the edition year in its name and no recertification exam or annual maintenance fee is listed, so treat 2024 as a version stamp rather than a renewal deadline, and check the certification page before you quote a validity period to an employer.
What does 2V0-72.22 cost, and is a retake included?
Budget USD 250 per attempt. The exam has one flat price with no regional or student discount, and a voucher covers a single sitting, so a retake means booking and paying again rather than reusing the first appointment. Broadcom publishes the current retake terms, so confirm them before you schedule.