DevNet Associate (Version 1.0) – Module 4 Exam Answers

DevNet Associate (Version 1.0) – Module 4 Exam Answers

University

19 Qs

quiz-placeholder

Similar activities

CURRICULO NACIONAL

CURRICULO NACIONAL

University

14 Qs

Holiday Trivia

Holiday Trivia

KG - University

15 Qs

SOAL UP 2021

SOAL UP 2021

1st Grade - University

20 Qs

Assessment in Learning 1

Assessment in Learning 1

University

15 Qs

Alat Ukur Mekanik

Alat Ukur Mekanik

10th Grade - Professional Development

20 Qs

Pengetahuan Aspek dan Manajemen HSE (PTC)

Pengetahuan Aspek dan Manajemen HSE (PTC)

University - Professional Development

18 Qs

ECONOMIA GENERAL

ECONOMIA GENERAL

University

17 Qs

PAT KELAS 6 TEMA 9 SESI 1 SDN PETAMBURAN 05

PAT KELAS 6 TEMA 9 SESI 1 SDN PETAMBURAN 05

KG - Professional Development

15 Qs

DevNet Associate (Version 1.0) – Module 4 Exam Answers

DevNet Associate (Version 1.0) – Module 4 Exam Answers

Assessment

Quiz

Special Education

University

Practice Problem

Medium

Created by

Rau Kk

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Refer to the exhibit. A network administrator is using a Python script to test a REST API request. The traceback message indicates that there is an error in the URI. What is a possible issue?

The protocol is wrong.

The query component is missing.

The destination host address is wrong.

The SSL certificate is invalid.

Answer explanation

Explanation: The error message indicates “ConnectionError”. The destination host address is probably wrong because it cannot be reached.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the RESTful API method to CRUD function.

READ

GET

POST

DELETE

PUT/PATCH

Answer explanation

Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the RESTful API method to CRUD function.

CREATE

POST

GET

DELETE

PUT/PATCH

Answer explanation

Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the RESTful API method to CRUD function.

DELETE

DELETE

POST

GET

PUT/PATCH

Answer explanation

Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the RESTful API method to CRUD function.

UPDATE

PUT/PATCH

DELETE

GET

POST

Answer explanation

Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an architectural constraint to which a true RESTful API web service must adhere?

It operates in a stateless way.

It uses HTTPS to transport data.

It must operate along with a DNS server.

It operates as a cloud service.

Answer explanation

Explanation: Conforming to the constraints of the REST architecture is generally referred to as being “RESTful”. An API can be considered “RESTful” if it has the following features:
Client/server – The client handles the front end and the server handles the back end.
Stateless – No client data is stored on the server between requests. The session state is stored on the client.
Cacheable – Clients can cache responses locally to improve performance.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Refer to the exhibit. A network administrator is using a Python script to send a REST API request. What is the purpose of the line of code resp = requests.get(url, verify = False) ?

It bypasses the certificate validation check.

It tests the function of the Python requests library

It omits the sending URL in the response.

It skips the URL verification step and tests the resource path.

Answer explanation

Explanation: When the scheme of the URI is HTTPS, the connection performs an SSL handshake between the client and the server in order to authenticate each other. This handshake needs to be successful before the REST API request can be sent to the API server. In a development stage, APIs with HTTPS need testing and because a valid certificate is not yet obtained, the SSL handshake process can be turned off with the code line.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?