Month End Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

2V0-72.22 Exam Dumps - VMware Certification Questions and Answers

Question # 14

Which three dependencies are provided by the spring-boot-starter-test? (Choose three.)

Options:

A.

Cucumber

B.

Hamcrest

C.

spring-test

D.

Junit

E.

EasyMock

F.

PowerMock

Buy Now
Question # 15

Refer to the exhibit.

What is the id/name of the declared bean in this Java configuration class? (Choose the best answer.)

Options:

A.

clientServiceImpl (starting with lowercase “c”)

B.

clientServiceImpl (starting with uppercase “C”)

C.

clientService (starting with lowercase “c”)

D.

ClientService (starting with uppercase “C”)

Buy Now
Question # 16

Which two statements are correct regarding the differences between @ConfigurationProperties and @Value? (Choose two.)

Options:

A.

@Value must be used for environment variables, as @ConfigurationProperties cannot access the environment.

B.

@Value supports relaxed binding of properties, but not property binding through SpEL.

C.

@ConfigurationProperties is preferable over @Value when type-safety during property binding is a concern.

D.

@ConfigurationProperties only bind properties from .properties files, not from .yml files.

E.

@ConfigurationProperties supports relaxed binding of properties, but not property binding through SpEL.

Buy Now
Question # 17

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

Options:

A.

DataSourceHealthIndicator

B.

GoogleCloudDataStoreHealthIndicator

C.

DynamoDBHealthIndicator

D.

RabbitHealthIndicator

E.

OktaHealthIndicator

Buy Now
Question # 18

Which two statements are correct regarding the Health Indicator status? (Choose two.)

Options:

A.

The last status in a sorted list of HealthIndicators is used to derive the final system health.

B.

The status with the least severity is used as the top-level status.

C.

Custom status values can be created.

D.

The built-in status values are DOWN, OUT_OF_SERVICE, UNKNOWN, and UP in decreasing order of severity.

E.

The severity order cannot be changed due to security reasons.

Buy Now
Question # 19

Which option is true about use of mocks in a Spring Boot web slice test? (Choose the best answer.)

Options:

A.

Mocking a Spring Bean requires annotating it with @MockBean annotation.

B.

If a Spring Bean already exists in the web slice test spring context, it cannot be mocked.

C.

Mocks cannot be used in a Spring Boot web slice test.

D.

Mocking a Spring Bean requires annotating it with @Mock annotation.

Buy Now
Question # 20

Which two statements are correct regarding the @EnableAutoConfiguration annotation? (Choose two.)

Options:

A.

It is a meta-annotation on the @SpringBootApplication composed annotation.

B.

It enables auto-configuration of the ApplicationContext by attempting to guess necessary beans.

C.

It is meta-annotation on the @SpringBootConfiguration composed annotation.

D.

It has the same effect regardless of the package of the class that is annotated with it.

E.

It ensures auto-configuration is applied before user-defined beans have been registered.

Buy Now
Question # 21

Refer to the exhibit.

AppConfig is a Java configuration class. Which two statements are true? (Choose two.)

Options:

A.

The clientService bean declared will have prototype scope by default.

B.

The name of the clientService() method is invalid and will throw an error.

C.

The clientService bean will be lazy initialized the first time accessed.

D.

The bean is of type clientService and by default will be a Singleton.

E.

The Java configuration can be profile specific by adding a @Profile annotation.

Buy Now
Question # 22

Refer to the exhibit.

Which two methods will be implemented at runtime if declared in a Spring Data JPA Repository? (Choose two.)

Options:

A.

public Customer getsingle(Long id);

B.

public Customer findFirstOrderDateMax();

C.

public Customer findByEmail(String email);

D.

public Customer findFirstByOrderDateBetween(Date d1, Date d2);

E.

public Customer findCustomerByName(String name);

Buy Now
Question # 23

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

Options:

A.

The @After advice type is invoked regardless of whether a method successfully returned or an exception was thrown.

B.

In Spring AOP, a join point represents a method execution or property access.

C.

Spring AOP does not use AspectJ's pointcut expression language.

D.

Examples of cross-cutting concerns include security, caching, transaction.

E.

There are in total 4 types of advice, @Before, @After, @AfterReturning and @AfterThrowing.

Buy Now
Exam Code: 2V0-72.22
Exam Name: Professional Develop VMware Spring
Last Update: Jan 31, 2025
Questions: 79
2V0-72.22 pdf

2V0-72.22 PDF

$25.5  $84.99
2V0-72.22 Engine

2V0-72.22 Testing Engine

$28.5  $94.99
2V0-72.22 PDF + Engine

2V0-72.22 PDF + Testing Engine

$40.5  $134.99