mulesoft Module 4 quiz
- 1. What is NOT part of a Mule 4 event?
- 2. A Database connector is configured to select rows from a Mysql database.
- 3. What is the minimue required configuration in a flow for a Mule application to compile?
- 4. What is the purpose of the api:router element in APIkit?
- 5. How does APIkit determine the number of flows to generate from a RAML specification?
1. What is NOT part of a Mule 4 event?
A inboundProperties
B attributes
C message
D payload
答案:A,没有站内属性
2. A Database connector is configured to select rows from a Mysql database.
What is the format of the array of results returned from the database query?
A Java
B XML
C JSON
D CSV
答案:A,这里的Java我理解应该是java对象
3. What is the minimue required configuration in a flow for a Mule application to compile?
A An event processor
B An event source
C A project RAML file
D A Logger component
答案:A,事件处理器,mulesoft都是事件驱动
4. What is the purpose of the api:router element in APIkit?
A Validates responses returned from API requests and routes them back to the caller
B Validates requests against RAML API specifications and routes them to API implementations
C Serves as an API implementation
D Creates native connectors using a 3rd party Java library
答案:B,APIkit可以通过RAML来generat,可以创建implementations
5. How does APIkit determine the number of flows to generate from a RAML specification?
A Creates a separate flow for each resource that contains child resources
B Creates a separate flow for each response status code
C Creates a separate flow for each HTTP method
D Creates a separate flow for each resource
E Creates one flow for the entire API spec
答案:C,自己错的次数最多的一道题,不好理解就看下面这里,每个HTTP方法都是一个单独的flow