Spring Boot - API Cantabile
Spring Boot - API Cantabile
Which is the Spring Boot URI mapping that can be done to a Service using
annotation? -- @RequestMapping
Which REST Service API cannot be created using Spring Boot? - none of the options
Which REST Service API can be created using Spring Boot? -- rating service
Which is the class that has to be autowired with the controller class for invoking
processes? -- service
________ can be used to over a SQL as well as NoSQL database. -- spring data
What are the security techniques that can be used for Spring Boot Microservices? --
all
Which is the correct format for HTTP Basic security technique? -- Authorization:
Basic dm9yZGVsOnZvcmRlbA==
Spring Boot offers ______ template to consume REST Services. -- rest Template
_________ class has to be auto wired to the Repository test class to test
Repository class. -- testEntityManager
Which of the following ways cannot be adopted to test using MockMvc technique? -
both
Which is the class level annotation that is used to test Repository class? --
@DataJpaTest
===============
What are the HTTP methods that can be implemented in Spring Boot Rest Service? --
del
Which is the UI Web framework that is built to use Spring Boot? -- vaadin
What is the method name to fetch specific data for a entity from database in
Repository class? -- findOne(id)
What are the template engine/engines that is/are not supported by Spring Boot? --
all
Which is the Spring boot starter that has to be added to include Freemarker
template engine? -- Spring-boot-starter-freemarker
What is the method name to fetch all data for a entity from database in Repository
class? -- findall
Which is the Spring Boot annotation used for caching auto configuration? --
@Cacheable
------------------
Which is the Spring Boot starter that has to be added to include Thymeleaf template
engine? --- Spring-boot-starter-thymeleaf
What is the Spring Boot starter that has to be added for logging? --Spring-boot-
starter-logging
With OAuth 2, you will have to set an authentication system to support Oauth
workflow. -- false
What are the Rest Template methods that can be used to handle any kind of request
type? --- both
repository cass has to extend ------- class to get the implementation benefit of
string data -- no class