Skip to content

Latest commit

 

History

History
211 lines (107 loc) · 4.39 KB

api.md

File metadata and controls

211 lines (107 loc) · 4.39 KB

KYT/CAT - API

Q.1 It is not possible to write data to APIs:

  • true

Q.2 Which statement defines an API Endpoint?:

  • One end of a communication channel

Q.3 APIs is a kind of...:

  • waiter

Q.4 What is the purpose of SOAP in a web service?:

  • Transmitting the data

Q.5 Some websites allows interactions with their API directly through url.:

  • True

Q.6 What are microservices?:

  • A Management technique

Q.7 You can easily make the real world your playground with Google Maps APIs.:

  • True

Q.8 SOAP is powerful because it is independant of any specific transport layer.:

  • True

Q.9 Which statement is true? (emoji DOWN on discord):

  • All of the other statements are true

Q.10 Google Maps API can help you to easily and quickly build a game world.:

  • True

Q.11 What does a REST API stand for?:

  • REpresentational State Transfer API

Q.12 You can stitch GraphQL APIs together, into a bigger GraphQL API.:

  • True

Q.13 Is it possible to write data to APIs with an HTTP GET-request methods.:

  • False

Q.14 SOAP can not support stateful operations.:

  • False

Q.15 My API doesn't accept more than 30 requests by minute, which HTTP code should I return if the user doesn't respect that?:

  • 429 Too Many Requests

Q.16 APIs are linked to:

  • ?

Q.17 Which tool may be useful to build complex API request?:

  • Postman

Q.18 Which statement is true? (emoji UP on discord):

  • All these statements are true

Q.19 In the late 80s, what permitted a major leap in the history of the API?:

  • World Wide Web

Q.20 What is the purpose of an API?:

  • To track activity on a website (not sure)

Q.21 HTTP stands for...:

  • Hyper Text Transfer Protocol

Q.22 Usually, a REST API works pretty much the same way a website does.:

  • True

Q.23 API stands for...:

  • Application Programming Interface

Q.24 Many API use microservices.:

  • True

Q.25 APIs history started recently during the noughties.:

  • True

Q.26 Which API design is the most used by all public APIs?:

  • Rest

Q.27 Which HTTP code should I return if a user tries to register with an existing email:

  • 409 Conflict

Q.28 REST uses URLs, in most cases, to receive or send information.:

  • True

Q.29 Which two things are allowed by APIs?:

  • Secure an application
  • Acces an application's data

Q.30 Which API design is the fastest:

  • REST

Q.31 An API can consume data from another API.:

  • True

Q.32 While creating an API, choosing between SOAP and REST should be based on:

  • All of these things

Q.33 Which advantage provides SOAP, when compared to REST?:

  • SOAP provides all of theses advantages compared to REST

Q.34 What can you do with APIs?:

  • All of these things

Q.35 Which one of the following tasks is not done by an API gateway?:

  • Documentation

Q.36 What is the purpose of XML in a web service?:

  • Tagging and/or formatting the data

Q.37 SOAP stands for:

  • Simple Object Access Protocol

Q.38 It is possible to write data to API's with an HTTP POST-request methods.:

  • True

Q.39 What does an API gateway help to ensure?:

  • it helps ensure all these things

Q.40 SOAP offers a more lightweight method than REST.:

  • False

Q.41 APIs allows two systems to...:

  • communicate with each other
  • interact with each other

Q.42 SOAP can not support stateful operations.:

  • False

Q.43 What's an API gateway?:

  • The single entry point for defined back-end APIs and microservices

Q.44 Who coined the word API?:

  • Roy Thomas Fielding

Q.45 A user is trying to access an administrator resource, which HTTP code should I return?:

  • 403 Forbidden

Q.46 Which API design is the heaviest?:

  • SOAP

Q.47 A single API can have multiple implementations?:

  • True

Q.48 In a GraphQL API, you must be careful with overfetching and underfetching.:

  • True

Q.49 GraphQL APIs have a strongly typed schema.:

  • True

Q.50 Which one is not a feature of web services?:

  • It is discoverable via simple find mechanism (not sure)

Q.51 Which API deisgn is more flexible?:

  • REST

Q.52 SOAP relies solely on XML to provide messaging services.:

  • True