2V0-72.22 Professional Develop VMware Spring

Loading demo links...

Showing 1–3 of 10 questions

Question 1

Which two statements are true regarding the RestTemplate class? (Choose two.)

Select all that apply, then click Submit answer.

  • It supports asynchronous non-blocking model.

  • It automatically supports sending and receiving Java objects.

  • It provides convenience methods for writing REST clients.

  • It provides convenience methods for writing REST services.

  • Sending an HTTP request with a custom header is not possible when using RestTemplate.

Question 2

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

Select all that apply, then click Submit answer.

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

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

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

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

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

Question 3

Which two statements are correct regarding Spring Boot auto-configuration customization? (Choose two.)

Select all that apply, then click Submit answer.

  • Use the @AutoConfigureAfter or @AutoConfigureBefore annotations to apply configuration in a specific order.

  • Disable specific auto-configuration classes by using the exclude attribute on the
    @EnableAutoConfiguation annotation.

  • Provide customized auto-configuration by subclassing the provided Spring Boot auto-configuration classes.

  • Enable component scanning within auto-configuration classes to find necessary components.

  • Control the order of auto-configuration classes applied with @AutoConfigureOrder.