[Q19-Q34] リアルVMware 2V0-72.22試験問題 [更新されたのは2023年]

Share

リアルVMware 2V0-72.22試験問題 [更新されたのは2023年]

2V0-72.22試験問題集で合格させるのは更新されたのは2023年年最新のProfessional Develop VMware Spring


VMware 2V0-72.22 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Describe and use Spring Transaction Management
  • Use the Spring Expression Language (SpEL)
トピック 2
  • Describe how Spring determines bean creation order
  • Implement and deploy Advices using Spring AOP
トピック 3
  • Create a simple RESTful controller to handle GET requests
  • Execute queries using callbacks to handle result sets
トピック 4
  • Use Spring Security to configure Authentication and Authorization
  • Annotation-Based Configuration and Component Scanning
トピック 5
  • Describe Spring Boot dependency management
  • Explain how to create a Spring MVC application using Spring Boot
トピック 6
  • Describe the basic request processing lifecycle for REST requests
  • Explain and use Annotation-based Configuration
トピック 7
  • Use External Properties to control Configuration
  • Discuss Best Practices for Configuration choices
トピック 8
  • Explain the concepts behind AOP and the problems that it solves
  • Demonstrate the purpose of Profiles

 

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

  • A. Cucumber
  • B. spring-test
  • C. Hamcrest
  • D. PowerMock
  • E. EasyMock
  • F. Junit

正解: C,E,F

 

質問 20
Which dependency enables an automatic restart of the application as code is changed during development of a Spring boot configuration on a web application? (Choose the best answer.)

  • A. spring-boot-restart
  • B. spring-boot-starter-devtools
  • C. spring-boot-initializr
  • D. spring-boot-devtools

正解: D

 

質問 21
Which two statements about pointcut expressions are true? (Choose two.)

  • A. A pointcut expression cannot have a wildcard for a method name.
  • B. A pointcut expression cannot specify the type of parameters.
  • C. A pointcut expression will throw an exception if no methods are matched.
  • D. A pointcut expression can be used to select join points which have been annotated with a specific annotation.
  • E. A pointcut expression can include operators such as the following: && (and), || (or), ! (not).

正解: D,E

 

質問 22
Given an ApplicationContext containing three bean definitions of type Foo with bean ids foo1, foo2, and foo3, which three @Autowired scenarios are valid and will allow the ApplicationContext to initialize successfully? (Choose three.)

  • A. @Autowired private Foo foo;
  • B. @Autowired public void setFoo (@Qualifier ("foo1") Foo foo) {...}
  • C. @Autowired public void setFoo(Foo foo2) {...}
  • D. @Autowired public void setFoo (Foo foo) {...}
  • E. @Autowired @Qualifier ("foo3") Foo foo;
  • F. @Autowired private Foo foo2;

正解: A,C,D

 

質問 23
Which three types can be used as @Controller method arguments? (Choose three.)

  • A. HttpSession
  • B. Request
  • C. Language
  • D. Principal
  • E. Locale
  • F. Session

正解: A,B,E

 

質問 24
Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)

  • A. EasyMock is supported out of the box.
  • B. Mockito spy is not supported in Spring Boot testing by default.
  • C. @SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.
  • D. Integration and slice testing are both supported.
  • E. The spring-test dependency provides annotations such as @Mock and @MockBean.

正解: B,E

 

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

  • A. REST is Relative.
  • B. REST is Interoperable.
  • C. REST is a Protocol.
  • D. REST is Reliable.
  • E. REST is Stateful.

正解: B,C

 

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

  • A. The metrics endpoint /actuator/metrics is exposed over HTTP by default.
  • B. An external monitoring system must be used with Actuator.
  • C. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary.
  • D. Timer measures both the number of timed events and the total time of all events timed.
  • E. A metric must be created with one or more tags.

正解: A,B

 

質問 27
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. @SpringBootTest without any configuration classes expects there is only one class annotated with @SpringBootConfiguration in the application.
  • C. Test methods in a @SpringBootTest class are transactional by default.
  • D. @SpringBootTest is typically used for integration testing.
  • E. Test methods annotated with @SpringBootTest will recreate the ApplicationContext.

正解: D,E

 

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

  • 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. The severity order cannot be changed due to security reasons.
  • D. The built-in status values are DOWN, OUT_OF_SERVICE, UNKNOWN, and UP in decreasing order of severity.
  • E. Custom status values can be created.

正解: D,E

 

質問 29
Which two statements are true concerning the BeanPostProcessor Extension point? (Choose two.)

  • A. BeanPostProcessors are called during the initialization phase of a bean life cycle.
  • B. BeanPostProcessors cannot be ordered in a Spring Boot application.
  • C. Custom BeanPostProcessors can be implemented for Spring applications.
  • D. BeanPostProcessors are called before the BeanFactoryPostProcessors.
  • E. BeanPostProcessors are called before the dependencies have been injected.

正解: A,C

 

質問 30
If a class is annotated with @Component, what should be done to have Spring automatically detect the annotated class and load it as a bean? (Choose the best answer.)

  • A. Ensure a valid bean name in the @Component annotation is specified.
  • B. Ensure a valid @Scope for the class is specified.
  • C. Ensure a valid @Bean for the class is specified.
  • D. Ensure a valid @ComponentScan annotation in the Java configuration is specified.

正解: A

 

質問 31
Refer to the exhibit.

How can a response status code be set for No Content (204)? (Choose the best answer.)

  • A. Annotate the update() handler method with @ResponseStatus(HttpStatus.NO_CONTENT).
  • B. The update() handler method cannot return a void type, it must return a ResponseEntity type.
  • C. Annotate the update() handler method with @PutMapping("/store/orders/{id"}", HttpStatus.NO_CONTENT).
  • D. Annotate the update() handler method with @ResponseEntity(204).

正解: D

 

質問 32
Which statement about @TestPropertySource annotation is true? (Choose the best answer.)

  • A. Java system properties have higher precedence than the properties loaded from
    @TestPropertySource.
  • B. @TestPropertySource annotation loads a properties file relative to the root of the project by default.
  • C. Inlined properties defined in @TestPropertySource can be used to override properties defined in property files.
  • D. Properties defined @PropertySource are not loaded if @TestPropertySource is used.

正解: C

 

質問 33
Refer to the exhibit.

Which statement is true? (Choose the best answer.)

  • A. CustomerRepository should be a class, not an interface.
  • B. JPA annotations are required on the Customer class to successfully use Spring Data JDBC.
  • C. An implementation of this repository can be automatically generated by Spring Data JPA.
  • D. A class that implements CustomerRepository must be implemented and declared as a Spring Bean.

正解: C

 

質問 34
......

2V0-72.22試験問題集、2V0-72.22練習テスト問題:https://www.goshiken.com/VMware/2V0-72.22-mondaishu.html