Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware 2V0-72.22 Exam - Topic 5 Question 6 Discussion

Which two statements are true about @Controller annotated classes? (Choose two.)
B) The classes are eligible for handling requests in Spring MVC. and E) The @Controller annotation is a stereotype annotation like @Component.
A) The @Controller annotated classes can only render views.
C) The classes must be annotated together with @EnableMvcMappings to be discovered via component scanning.
D) @Controller is interchangeable with @RestController with no extra code changes for the methods inside the class.

VMware 2V0-72.22 Exam - Topic 5 Question 6 Discussion

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

Which two statements are true about @Controller annotated classes? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: B, E

Contribute your Thoughts:

0/2000 characters
Antonio
9 months ago
C seems wrong, you don’t need @EnableMvcMappings for component scanning.
upvoted 0 times
...
Fabiola
9 months ago
E is spot on, @Controller is a stereotype annotation for sure!
upvoted 0 times
...
Rutha
9 months ago
Wait, are you saying @Controller and @RestController are interchangeable? That sounds off.
upvoted 0 times
...
Carolynn
9 months ago
I think A is misleading, @Controller can do more than just render views.
upvoted 0 times
...
Lucy
9 months ago
B and E are definitely true!
upvoted 0 times
...
Elenore
9 months ago
I’m a bit confused about the @EnableMvcMappings part. I thought @Controller classes were automatically discovered without that annotation.
upvoted 0 times
...
Zona
9 months ago
I feel like we discussed @RestController and @Controller in class, and how they aren't exactly interchangeable without some changes.
upvoted 0 times
...
Kaycee
9 months ago
I remember something about @Controller being a stereotype annotation, similar to @Component. That might be true.
upvoted 0 times
...
Lina
10 months ago
I think @Controller classes can handle requests, but I'm not sure if they can only render views. That sounds too limiting.
upvoted 0 times
...
Jenelle
10 months ago
Hmm, let me think this through. I know the invoicing process involves some kind of document creation, but I'm not sure about the specifics. I'll need to review my notes to make sure I get this right.
upvoted 0 times
...
Carylon
10 months ago
Hmm, I'm not entirely sure about this one. I'll have to think it through carefully before selecting an answer.
upvoted 0 times
...
Jannette
10 months ago
I think ENIs are set to terminate with the instance, but I'm not completely sure if that's always the case.
upvoted 0 times
...
Velda
10 months ago
I'm not sure about this one. The question seems a bit tricky, and I want to make sure I understand the requirements correctly before I attempt to answer.
upvoted 0 times
...
Ivory
10 months ago
B and D don't seem to be the correct answers. I'm going to go with A as my final choice.
upvoted 0 times
...

Save Cancel