mcd-level-1 question 204 discussion

View all MuleSoft Certified Developer - Level 1 (Mule 4) Exam here
back to mulesoft forum

Question 204

Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal
and
http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in
RAML specification?
1.
Library.raml
2.
/books
3.
get:
4.
post:
5.
/order:
6.
get
7.
patch
8.
/members
9.
get:

  • A. 1
  • B. 2
  • C. 3
  • D. 5
Answer:

A


Explanation:
Correct answer is 5 as APIkit for REST generates a backend flow for each resource-action pairing in a
RAML file.
MuleSOft Doc Ref :
https://docs.mulesoft.com/mule-runtime/4.2/build-application-from-api

User Votes:
A 7 votes
50%
B
50%
C
50%
D 9 votes
50%
Discussions
0 / 1000
d.abbas
11 months ago

In total, there are 5 APIKit Router components that would be generated to handle requests to every endpoint defined in the RAML specification:

GET /books
POST /books
GET /books/order
PATCH /books/order
GET /books/order/members

acwork
10 months, 1 week ago

I also think that the correct answer's D. one flow for each resource

shxzmk
6 months, 2 weeks ago

There are 5 resources or endpoints. so API KIT generates 5 flows