Web Services / Dev Ops Flashcards

1
Q

What is the difference between SOAP and Rest?

A
  • REST is a set of architectural principles.
  • SOAP is an official protocol maintained by the World Wide Web Consortium (W3C).
  • SOAP only works with XML formats whereas REST work with plain text, XML, HTML and JSON.
  • SOAP uses service interfaces to expose its functionality to client applications while REST uses Uniform Service locators to access to the components on the hardware device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

REST

A

Representational State Transfer; a set of architectural principles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SOAP

A

Simple Object Access Protocol; it is an XML-based messaging protocol for exchanging information among computers. It allows processes to communicate throughout platforms, languages, and operating systems since protocols like HTTP are already installed on all platforms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

WSDL

A

Web Service Description Language; it is an XML based definition language used for describing the functionality of a SOAP-based service. Think of a WSDL file as a contract between the provider and the consumer of a service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Contract-First

A

Where you create the WSDL and then create the implementation from this (WSDL is your contract, hence contract-first)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Contract-Last

A

Where the WSDL is created from the implementation so it will most likely be generated by a tool, rather than created by a developer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

XML Namespace

A

eXtensible Markup Language; creates a qualified name for an XML element. This provides a unique identifier for the element or attribute to help avoid name conflicts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Richardson Maturity Model

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Web Services

A

A webservice is a software or app or API that you access via the internet to execute some tasks for you. There are 3 different types of web services:
IaaS – Infrastructure as a service
PaaS – Platforms as a service
SaaS – Software as a service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

IaaS

A

Infrastructure as a service is an instant computing infrastructure that is managed over the internet.
IaaS allows businesses to purchase resources on-demand and as-needed instead of having to buy hardware outright.
IaaS works primarily with cloud-based and pay-as-you-go servicessuch as storage and networking.
Examples of IaaS:
Amazon Web Services(AWS)
Microsoft Azure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

PaaS

A

Platform as a service is a cloud computing model where a third-party provider delivers hardware and software tools to users over the internet.
PaaS allows businesses to design and create applications that are built into thePaaS with special software components
PaaS focuses primarily on hardware and software tools available over the internet
Examples ofPaaS
AWS Elastic Beanstalk
ElephantSQL
Pega

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SaaS

A

Software as a Service represents the most commonly utilized option for businesses in the cloud market
SaaS uses the internet to deliver applications, using third-party management, to its users.
Examples of SaaS:
Zoom
Google Workspace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

HTTP

A

Hypertext Transfer Protocol; The internet is all about communication between web servers and web clients.
Clients are oftenweb browsers, but can be any type of program/device.
Servers are computers that run services to serve the needs of other computers (servers are computers in the cloud)
HTTP works as a request-response protocol between clients and servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

HTTP Status Codes

A

Status codes give a short description of success/failure of therequest
Status codes:
1xx(100) - these codes are purely informational
2xx(200) - these codes are success messages
3xx(300) - these codes are for redirection
4xx(400) - these codes are client-side errors
5xx(500) - these codes are for server-side errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

HTTP Request Structure

A

Start line
method that describes the action to be performed,
target which describes where to send the request
Header
Contains metadata such as the content type
Body
Contains the data you want the server to process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

HTTP Verbs and Methods

A

HTTP methods, also known as verbs, define what action the client wants the server to perform

17
Q

Safe Methods

A

methods that do not change the state of the resource it accesses.
Ex: GET, HEAD