Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free Access VMware 2V0-72.22 New Release

Page: 4 / 6
Total 79 questions

Professional Develop VMware Spring Questions and Answers

Question 13

According to REST principles, which is the recommended way to update the order resource identified by 1234?

Options:

A.

Send a PUT request to /orders/edit?id=1234.

B.

Send a PUT request to /orders/1234.

C.

Send a POST request to /orders/1234.

D.

Send a POST request to /orders/edit?id=1234.

Question 14

Which two statements are true about REST? (Choose two.)

Options:

A.

REST is a Protocol.

B.

REST is Stateful.

C.

REST is Reliable.

D.

REST is Interoperable.

E.

REST is Relative.

Question 15

Refer to the exhibit.

Based on the default Spring behavior, choose the correct answer. (Choose the best answer.)

Options:

A.

One AccountRepository bean will be instantiated since the default scope is singleton.

B.

Three AccountRepository beans will be instantiated as the accountRepository() method will be called three times.

C.

Many AccountRepository beans will be instantiated, depending how often accountRepository(), transferService() and accountService() are called.

D.

Two AccountRepository beans will be instantiated as the accountRepository() method will be called two times.

Question 16

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

Options:

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.

Page: 4 / 6
Total 79 questions