• Tutorials
  • Courses
  • Tracks

Advanced Java Quiz Day 62

Last Updated :
Discuss
Comments

Question 1

Which HTTP method is typically used in Postman to retrieve data from an API?

  • POST

  • GET

  • PUT

  • DELETE

Question 2

In Postman, a "Collection" is used for:


  • Grouping related API requests

  • Storing database queries

  • Caching responses

  • Generating HTML reports only

Question 3

How do you save an API request into a Postman collection?

  • Use the "Send" button only

  • Use the "Save" button and select a collection

  • Copy-paste request into Notepad

  • Export JSON from Postman

Question 4

Which library is commonly used in Spring Boot to generate Swagger/OpenAPI documentation?

  • springdoc-openapi

  • spring-boot-starter-data-jpa

  • springfox-swagger2

  • Jackson-core

Question 5

What is the default Swagger UI endpoint when using springdoc-openapi in Spring Boot?

  • /swagger

  • /api-ui

  • /swagger-ui.html

  • /doc

Question 6

Which dependency is needed to integrate Swagger UI using springdoc-openapi in Spring Boot?

  • spring-boot-starter-thymeleaf

  • springdoc-openapi-ui

  • swagger-ui-react

  • spring-boot-starter-test

Question 7

In Swagger/OpenAPI, what is used to describe the API endpoints, request/response formats, and parameters?


  • @Controller

  • OpenAPI Specification

  • Jackson Mapper

  • Postman Runner

Question 8

Which annotation in Spring Boot can be used to describe an API operation in Swagger?



  • @ApiOperation

  • @RequestParam

  • @GetMapping

  • @Entity

Question 9

In Postman, which feature allows you to send multiple requests in sequence automatically?

  • Request Chaining

  • Quick Send

  • Multi-Run

  • API Flow

There are 9 questions to complete.

Take a part in the ongoing discussion