exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 6 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 6
Topic #: 1
[All 2V0-72.22 Questions]

Which two statements are true regarding a Spring Boot-based Spring MVC application? (Choose two.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
james2033
7 months, 2 weeks ago
Selected Answer: AC
(A) Undertow for Spring Reactive https://undertow.io/ See https://springhow.com/spring-boot-undertow/ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> (B) Jetty for Spring Reactive. (C) wrong, it is 8080, not 8088 (D) true (E) wrong, use in-memory with Spring Data JPA or Spring Security or declaring H2 database in pom.xml or build.gradle .
upvoted 2 times
...
james2033
7 months, 2 weeks ago
Selected Answer: CD
(A) Undertow for Spring Reactive https://undertow.io/ (B) Jetty for Spring Reactive. (C) true, (D) true, (E) wrong, use in-memory with Spring Data JPA or Spring Security or declaring H2 database in pom.xml or build.gradle .
upvoted 1 times
james2033
7 months, 2 weeks ago
I have mistake, default port is 8080, not 8088, make D is wrong.
upvoted 1 times
...
...
Azuni
7 months, 2 weeks ago
Selected Answer: AC
Went though the VMWare Spring Boot course again for Configuration of WAR and JAR deployments and it confirms what the commenters below said.
upvoted 1 times
...
zakupower
1 year ago
Selected Answer: AC
Default embedded servlet container is Tomcat. Jetty and Undertow can be used instead of it.
upvoted 3 times
...
qulyt
1 year, 2 months ago
Selected Answer: AC
A - https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/howto-embedded-servlet-containers.html#:~:text=own%20JettyEmbeddedServletContainerFactory.-,73.13,-Use%20Undertow%20instead
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago