2026 Actual VMware 2V0-72.22 Dumps, Updated Exam Questions for Guaranteed Pass

Professional Develop VMware Spring - Free Practice Questions with Explanations, Exam Dumps, and Complete Practice Pack from DumpsProvider.

Exam Information

VendorVMware
Exam code2V0-72.22
Exam nameProfessional Develop VMware Spring
Questions in pack79
Last updatedNovember 22, 2026
Related certificationsVMware Certified Professional, VCP Application Modernization Develop

Free practice questions with explanations

VMware 2V0-72.22 Practice Questions

Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.

Questions
14
Answered
0
Correct
0
Score
-
  1. 1 Question 1 Single choice Data Management

    A retail company runs an order-processing service on Spring Boot with JdbcTemplate. A method debits a customer account and then inserts an order row. Under peak load, a deadlock occurs in the inserts and the framework throws a database-specific exception. The team wants callers to handle failures uniformly without parsing vendor error codes, and wants the original SQLException preserved for diagnostics. Which approach best meets these requirements?

  2. 2 Question 2 Drag and drop Spring Core

    A platform team maintains a Spring application where a PaymentGateway bean must open a connection pool only once the context starts and release it cleanly when the context closes, and a ReportCache bean must be created lazily on first use. Match each requirement to the mechanism that satisfies it.

    Drag each item onto its matching target. On a phone: tap an item, then tap a target.

    Release pooled connections cleanly when the context shuts down
    Defer creation of the ReportCache bean until it is first requested
    Run initialisation logic after dependency injection completes
    Mark the bean definition with @Lazy
    Register a Java configuration class with @Profile
    Annotate a method with @PreDestroy
    Annotate a method with @PostConstruct
    Declare the bean with prototype scope
  3. 3 Question 3 Single choice Security

    A healthcare SaaS provider exposes a Spring Boot REST API for clinicians. Requirements state that only users with the CLINICIAN role may read patient records, and that a service method updating medication orders must reject callers who lack the PHYSICIAN authority even if the request passes URL-level filtering. Engineers have already configured HttpSecurity with authorizeHttpRequests. Which additional change most directly enforces the service-layer requirement?

  4. 4 Question 4 Order list Spring Boot

    A team needs to add a custom health indicator that reports whether a third-party inventory API responds within a timeout, and to expose it only on the management port while keeping the main application port free of actuator endpoints. The application is a Spring Boot 2.x service. Arrange the steps in the correct order.

    Drag the steps into the correct order, or use the arrows.

    1. Add spring-boot-starter-actuator to the pom.xml dependencies
    2. Include health in management.endpoints.web.exposure.include
    3. Restart the application and verify the health endpoint on the management port
    4. Set management.server.port to a separate port number in application.properties
    5. Implement HealthIndicator in a @Component class that calls the inventory API and returns Health.up or Health.down
  5. 5 Question 5 Multiple choice Testing

    A team maintains a Spring Boot application with a JPA repository backed by PostgreSQL. Their current test suite loads the full application context for every controller test, making the build slow. They want fast controller tests that verify JSON serialisation and HTTP status codes without starting the database layer, and they want the database-backed repository test to run against a real PostgreSQL instance rather than an embedded substitute. Which two actions together meet these requirements? (Choose two.)

  6. 6 Question 6 Dropdown Spring Core

    A developer is configuring a Spring Boot service that reads a feature flag from application-prod.properties. The flag must be injected into a field of a component using the Spring Expression Language, and the component must only be created when the prod profile is active. Complete the annotations by selecting the correct value for each blank.

    Choose the correct value for each blank.

    @Component
    @("prod")
    public class FeatureService {
    @Value("")
    private boolean enabled;
    }
  7. 7 Question 7 Single choice Data Management

    A billing service uses Spring Data JPA. A method createInvoice calls chargeCustomer, which is annotated @Transactional with the default REQUIRED propagation, and then writes an audit record. Requirements state that the audit record must be persisted even if chargeCustomer throws a RuntimeException, and the charge must roll back in that case. Which configuration on the audit method meets this?

  8. 8 Question 8 Drag and drop Spring MVC

    A payments team exposes a REST API built with Spring MVC on Spring Boot. Each requirement below calls for a specific annotation or client component. Match each requirement to the component that satisfies it.

    Drag each item onto its matching target. On a phone: tap an item, then tap a target.

    Handle an HTTP DELETE request to remove a resource by identifier
    Serialise a returned Java object into a JSON response body
    Invoke a downstream REST service from a service class
    @RequestParam on a controller method
    RestTemplate bean with exchange or getForObject
    @ConfigurationProperties on a configuration class
    @DeleteMapping on a controller method
    @RestController with the object returned from the handler
  9. 9 Question 9 Single choice Spring Boot

    A team runs a Spring Boot 2.x service in three environments. A default port of 8080 is hard-coded in application.properties. The operations team needs the production deployment to listen on 9090 without rebuilding the artifact, and development must keep 8080. The build produces a single jar that is promoted through all environments unchanged. Which approach best meets this?

  10. 10 Question 10 Multiple choice Spring Core

    A team is refactoring a Spring Boot application that currently uses XML bean definitions. The new design should use Java configuration for the data layer, while keeping one legacy XML file that defines a third-party bean they cannot modify. They need the context to load both sources and to ensure the Java configuration beans can depend on the XML-defined bean. Which two actions together meet this? (Choose two.)

  11. 11 Question 11 Single choice Spring Boot

    A microservice uses Spring Boot Actuator and exposes the metrics endpoint over HTTP. A security review requires that actuator endpoints other than health remain inaccessible to anonymous users, and that the metrics endpoint is available only to users holding the OPS role. Spring Security is already on the classpath with a custom SecurityFilterChain. Which configuration is the most appropriate?

  12. 12 Question 12 Dropdown Testing

    A team wants a JUnit 5 integration test for a Spring Boot service that must run under a test-specific profile so it picks up application-test.properties, and must roll back database changes after each test method. Complete the annotations by selecting the correct value for each blank.

    Choose the correct value for each blank.

    @SpringBootTest
    @("test")
    @
    class OrderServiceIT {
    }
  13. 13 Question 13 Single choice Data Management

    A reporting service uses Spring Data JPA with repositories for Customer and Order entities. A query method findByStatusAndRegion has become hard to read as criteria grow, and the team needs the query to be built from optional filters supplied at runtime. Their repository interface must remain free of hand-written SQL. Which approach is most appropriate?

  14. 14 Question 14 Single choice Spring Core

    A team defines a Spring singleton service that holds a reference to a stateful PaymentSession bean declared with prototype scope. Each call to processPayment should receive a fresh PaymentSession, but testing shows every call reuses the same instance. The service is injected with the session through a constructor parameter. Which change best fixes the behaviour without redesigning the service's public API?

These are 14 of the 79 questions in the full 2V0-72.22 pack.

Get All 79 Questions

Get all 79 questions & answers

748 Satisfied customers
94.4% Pass rate feedback
82.9% Said questions matched
98% Found material helpful

Full access options for VMware 2V0-72.22

Self-study

PDF Version

$40.00 $20.00
  • 79 actual exam questions
  • Compatible with all devices
  • Printable PDF format
  • No download limits
  • 90 days free updates
  • 24/7 customer support

Exam simulation

Online Practice Test

$50.00 $25.00
  • 79 actual exam questions
  • Actual exam environment
  • 90 days free updates
  • Browser-based software
  • 24/7 customer support

100% Money Back Guarantee

Your success comes first

At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 2V0-72.22 Exam (Professional Develop VMware Spring) on your very first attempt.

In a rare case, if you fail your exam, we will refund your amount without asking a single question.

100%

Security & Privacy

10000+

Satisfied Customers

24/7

Committed Service

100%

Money Back Guranteed