Free MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) Exam Braindumps (page: 4)

What is the trait name you would use for specifying client credentials in RAML?

  1. headers
  2. client-id
  3. client-id-required
  4. cannot be specified in RAML

Answer(s): C

Explanation:

client-id-required enforces clients to add client_id and client_secret.
Please refer to below steps.
Add a section called traits: at the root level to define query parameters:
·traits:
- client-id-required:
queryParameters:
client_id:
type: string
client_secret:
type: string
2) Reference the trait in each of the methods to specify that each of the methods require these query parameters. After each method in the RAML file, add is:
[client-id-required]. For example:
/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.



A shopping API contains a method to look up store details by department.

To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId

What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?


  1. 1./department:
    2. get:
    3. uriParameter:
    4. storeId:

  2. 1.get:
    2.uriParameter:
    3.{storeId}:
    4.queryParameter:
    5.department:

  3. 1.get:
    2. queryParameter:
    3. department:
    4. uriParameter:
    5. {storeId}:

  4. 1./{storeId}:
    2. get:
    3. queryParameter:
    4. department:

Answer(s): D



What execution model is used by For Each and Batch Job scopes?

  1. For Each is single-threaded and Batch Job is multi-threaded
  2. Both are single-threaded
  3. Both are multi-threaded
  4. Batch Job is single-threaded and For Each Is multi-threaded

Answer(s): A



How we can scale deployed Mule application vertically on cloudhub?

  1. Changing worker size
  2. Adding multiple workers
  3. Mule applications can be scaled only horizontally
  4. Option 1 and 2 both can be used

Answer(s): A

Explanation:

Mule applications can be scaled vertically by changing worker size. Mule applications can be scaled horizontally by adding more workers.



How many Mule applications can run on a CloudHub worker?

  1. At most one
  2. At least one
  3. Depends
  4. None of these

Answer(s): A



What asset cannot be created using Design Center?

  1. Mule Applications
  2. API fragments
  3. API specifications
  4. API portals

Answer(s): D

Explanation:

API portal are created by API Exchange and cannot be created by Design Center



Refer to the exhibit.



The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.

What is a valid RAML specification that reuses the Plan data type?








Answer(s): D

Explanation:

As can be seen in RAML, POST expects input in application/json format which eliminates two of the options as two options are in xml format.
Now out of the two remaining options, one has id field in request which is only mentioned for get response and not for POST request. Hence id field is not expected in POST request.
Hence correct answer is:

{
"name": "GoerdiLa Forge",
"address": "1 Westland CA",
"customer_since": "2014-01-04",
"balance": "4829.29",
"bank_agend_id": "12556"
}



Which of the below functionality is provided by zip operator in DataWeave?

  1. Merges elements of two lists (arrays) into a single list
  2. Used for sending attachments
  3. Minimize the size of long text using encoding.
  4. All of the above

Answer(s): A

Explanation:

Correct answer is Merges elements of two lists (arrays) into a single list MuleSoft Doc Reference:
https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions- zip



Viewing page 4 of 30
Viewing questions 25 - 32 out of 235 questions



Post your Comments and Discuss MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) exam prep with other Community members:

MuleSoft Certified Developer - Level 1 (Mule 4) Exam Discussions & Posts