Micro-Credential Part 2 Quiz 1

Micro-Credential Part 2 Quiz 1

Professional Development

20 Qs

quiz-placeholder

Similar activities

BACKEND.24.2 QUIZ 2 PARTE 1

BACKEND.24.2 QUIZ 2 PARTE 1

Professional Development

15 Qs

React Events, State, useEffect and Routing

React Events, State, useEffect and Routing

Professional Development

19 Qs

Micro-Credential Part 2 Mock Exam

Micro-Credential Part 2 Mock Exam

Professional Development

20 Qs

BACKEND.24.2 QUIZ 2 PARTE 2

BACKEND.24.2 QUIZ 2 PARTE 2

Professional Development

15 Qs

Mock Exam v.2

Mock Exam v.2

Professional Development

20 Qs

React Redux

React Redux

Professional Development

20 Qs

Web Development Fundamentals

Web Development Fundamentals

Professional Development

15 Qs

Digital Classroom - Architecting on Sim. SAA-C03 - Mod 08 e 09

Digital Classroom - Architecting on Sim. SAA-C03 - Mod 08 e 09

Professional Development

25 Qs

Micro-Credential Part 2 Quiz 1

Micro-Credential Part 2 Quiz 1

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Sarah Panganiban

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

REST API follows a strict protocol similar to SOAP, which mandates specific messaging formats.

True

False

Answer explanation

REST is not a strict protocol but a set of architectural constraints. It is more flexible than SOAP, which has specific XML-based messaging rules.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

JSON is the most commonly used format for REST API communication because it is lightweight and easy to read.

True

False

Answer explanation

JSON is widely used due to its simplicity, readability, and compatibility with multiple programming languages.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An API data contract defines the structure and constraints of data exchanged between the API provider and consumer.

True

False

Answer explanation

API data contracts specify the expected request and response formats, ensuring consistency.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

REST APIs are stateful, meaning they store client session information between requests.

True

False

Answer explanation

REST APIs are stateless, meaning each request is independent and does not rely on stored session data.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A ‘401 Unauthorized’ error indicates that the request was malformed and could not be understood by the server.

True

False

Answer explanation

A 401 Unauthorized error means the request lacks valid authentication credentials. A 400 Bad Request error would indicate a malformed request.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

REST APIs support multiple HTTP methods, including GET, POST, PUT, DELETE, and PATCH.

True

False

Answer explanation

These methods define different operations, such as retrieving, creating, updating, and deleting resources.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

API versioning is necessary when introducing breaking changes to maintain backward compatibility.

True

False

Answer explanation

Versioning ensures that existing clients can continue using older versions while new features are introduced.

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?