CORE SPRING 5 TEST 10

CORE SPRING 5 TEST 10

Professional Development

50 Qs

quiz-placeholder

Similar activities

PROD & PM TRAILER

PROD & PM TRAILER

Professional Development

50 Qs

BMH 2023

BMH 2023

Professional Development

50 Qs

Test Teori Overhaul Power Train HD 785-7

Test Teori Overhaul Power Train HD 785-7

Professional Development

50 Qs

ID703 Book Quiz # 1

ID703 Book Quiz # 1

Professional Development

50 Qs

Suspension Systems

Suspension Systems

Professional Development

45 Qs

PCA-3

PCA-3

Professional Development

50 Qs

EF,ASP.NET,MVC, Microservices For YP

EF,ASP.NET,MVC, Microservices For YP

Professional Development

50 Qs

Preventive Maintenance Scania

Preventive Maintenance Scania

Professional Development

55 Qs

CORE SPRING 5 TEST 10

CORE SPRING 5 TEST 10

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Jose Diaz

Used 3+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

An endpoint is considered to be available when it is both enabled and exposed. By default all endpoints are enabled, except one. Which?

startup

shutdown

configprops

threaddump

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following annotations can be used to inject scalar/literal values into Spring Bean?

@Inject

@Autowired

@Value

@Property

3.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following statements are correct regarding RestTemplate? Select all that apply.

RestTempalte is a synchronous client to perform HTTP requests

RestTemplate supports automatic serialization/deserialization

RestTemplate supports the only the 4 main HTTP methods - GET,POST,PUT and DELETE, having entry points method for them

RestTemplate supports URI templates

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of these can be annotated with the @Autowired annotation? Select all that apply.

Methods

Constructors

Initialization blocks

Fields

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following statements are correct, regarding ProceedingJoinPoint? Select all that apply.

If used ProceedingJoinPoint should be the first or last argument

ProceedingJoinPoint is an object that can be provided to @Around advice

ProceedingJoinPoint allows changing the method arguments of the original method

proceed() method of ProceedingJoinPoint must be called only once.

6.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following will be auto-configured by @WebMvcTest by default? Select all that apply.

MockMvc

@Controller annotated classes

@Component annotated classes

@Service annotated classes

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Is the following statement correct?

@SpringBootTest annotation is an alternative for @ContextConfiguration, when using SpringBoot.

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?