
Micro-Credential Part 2 Quiz 1
Authored by Sarah Panganiban
Information Technology (IT)
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?