Exam Details

  • Exam Code
    :2V0-72.22
  • Exam Name
    :Professional Develop VMware Spring
  • Certification
    :VCP-AM Develop 2022
  • Vendor
    :VMware
  • Total Questions
    :60 Q&As
  • Last Updated
    :May 16, 2024

VMware VCP-AM Develop 2022 2V0-72.22 Questions & Answers

  • Question 1:

    Which following statements are true about Spring Data? (Choose two.)

    A. Spring Data implementations exist for many data storage types, such as MongoDB, Neo4j, and Redis.

    B. Spring Data works by applying the JPA annotations to data stores such as MongoDB, Neo4j, and Redis.

    C. Spring Data can greatly reduce the amount of "boilerplate" code typically needed for data access.

    D. Spring Data is specifically designed for JPA, JDBC, and relational database access only.

    E. Spring Data cannot be used together with Spring MVC.

  • Question 2:

    Which statement describes the propagation behavior of Propagation.REQUIRES_NEW annotation? (Choose the best answer.)

    A. Starts a new transaction but throws an exception if an active transaction already exists.

    B. Joins a transaction if one already exists; throws an exception if an active transaction does not exist.

    C. Starts a new transaction; if an active transaction already exists, it is suspended.

    D. Runs in a nested transaction if an active transaction exists; throws an exception if an active transaction does not exist.

  • Question 3:

    Which statement defines a pointcut? (Choose the best answer.)

    A. A point in the execution of a program such as a method call or field assignment.

    B. An expression that selects one or more join points.

    C. A module that encapsulated advices.

    D. Code to be executed at each selected join point.

  • Question 4:

    Which two statements describe Spring JdbcTemplate? (Choose two.)

    A. All JdbcTemplate methods throw SQLException which you are required to handle.

    B. The JdbcTemplate provides the ability to work with result sets.

    C. The JdbcTemplate can only perform update but not insert to the database.

    D. The JdbcTemplate provides methods for query execution.

    E. The JdbcTemplate generates SQL statements.

  • Question 5:

    What are the two reasons Spring be used to build a Java application? (Choose two.)

    A. Spring automates a Java application build.

    B. Spring provides a Dependency Injection container.

    C. Spring automates deployment of Java applications to all of the major cloud providers.

    D. Spring provides comprehensive Java IDE support.

    E. Spring provides abstractions over infrastructure such as persistence and messaging.

  • Question 6:

    Which two statements are true regarding bean creation? (Choose two.)

    A. A Spring bean can be explicitly created by annotating methods or fields by @Autowired.

    B. A Spring bean can be implicitly created by annotating the class with @Component and using the component-scanner to scan its package.

    C. A Spring bean can be implicitly created by annotating the class with @Bean and using the component-scanner to scan its package.

    D. A Spring bean can be explicitly created using @Bean annotated methods within a Spring configuration class.

    E. A Spring bean can be explicitly created by annotating the class with @Autowired.

  • Question 7:

    Which two statements are true regarding Spring Boot Testing? (Choose two.)

    A. @TestApplicationContext is used to define additional beans or customizations for a test.

    B. Test methods in a @SpringBootTest class are transactional by default.

    C. @SpringBootTest is typically used for integration testing.

    D. Test methods annotated with @SpringBootTest will recreate the ApplicationContext.

    E. @SpringBootTest without any configuration classes expects there is only one class annotated with @SpringBootConfiguration in the application.

  • Question 8:

    Which two statements are correct regarding Spring Boot 2.x Actuator Metrics? (Choose two.)

    A. An external monitoring system must be used with Actuator.

    B. The metrics endpoint /actuator/metrics is exposed over HTTP by default.

    C. Timer measures both the number of timed events and the total time of all events timed.

    D. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary.

    E. A metric must be created with one or more tags.

  • Question 9:

    Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)

    A. @SqlMergeMode(false)

    B. @Rollback(false)

    C. @Commit

    D. @Sql(alwaysCommit=true)

    E. @Transactional(commit=true)

  • Question 10:

    What two options are auto-configured Spring Boot Actuator HealthIndicators? (Choose two.)

    A. DataSourceHealthIndicator

    B. GoogleCloudDataStoreHealthIndicator

    C. DynamoDBHealthIndicator

    D. RabbitHealthIndicator

    E. OktaHealthIndicator

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only VMware exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 2V0-72.22 exam preparations and VMware certification application, do not hesitate to visit our Vcedump.com to find your solutions here.