VMware vRealize Automation 8.x (2022) — Question 9
Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)
Answer options
- A. The default embedded servlet container can be replaced with Undertow.
- B. Jetty is the default servlet container.
- C. Spring Boot starts up an embedded servlet container by default.
- D. The default port of the embedded servlet container is 8088.
- E. Spring MVC starts up an in-memory database by default.
Correct answer: A, C
Explanation
Option A is correct as Spring Boot allows for the default embedded servlet container to be replaced with Undertow. Option C is also correct since Spring Boot automatically starts an embedded servlet container. Options B, D, and E are incorrect because Jetty is not the default servlet container (Tomcat is), the default port is 8080, and Spring MVC does not start an in-memory database by default.