GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

MCD Mule 1

Edward Yesid Ramírez 170 Fragen 17.396 Aufrufe

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (170)

  1. 1Refer to the exhibits.
    In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload.
    The request is sent to the HTTP Listener in the transform Flow.
    That flow transforms the incoming payload into JSON format and returns the response to the HTTP request.
    The response of the request is stored in a target variable named the Result.
    What is the payload at the Logger component after the HTTP Request?
    Bild zu Frage 1
    1. Anull
    2. BThe returned JSON response
    3. CThe original XML payload
    4. DA non-empty Java object
  2. 2Refer to the exhibits. The /daily folder exist, is currently empty, and file can be read and written to this folder by Anypoint Studio.
    This Mule application is run in Anypoint Studio, and then a file named productUpdate.txt containing the text "START" is written to the /daily forder.
    What is the daily folder after the readUpdates flow complites for the first time?
    Bild zu Frage 2
    1. AA file named productUpdates.txt.back containing the text "START"
    2. BA file named productUpdates.txt containing the text "START".

      A file named productUpdates.txt.back containing the text "FINISHED"
    3. CA file named productUpdates.txt.back containing the text "FINISHED"
    4. DA file named productUpdates.txt containing the text "START".

      A file named productUpdates.txt.back containing the text "STAR"
  3. 3A function named newProdCode needs to be defined that accepts two input parameters, an
    integer value for itemID and a string value for productCategory, and returns a new product code.
    What is the correct DataWeave code to define the newProdCode function?
    1. Afun newProdCode{itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
    2. Bfun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
    3. Cfunction newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
    4. Dvar newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
  4. 4Refer to the exhibits. The Mule application does NOT define any global error handler.
    A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error. What response message is returned to the web client?
    Bild zu Frage 4
    1. A"END"
    2. B"ERROR1"
    3. C"ERROR2"
    4. D"Validation Error"
  5. 5Refer to the exhibits. A web client submits a request to http://localhost:8081/flights. What is the result at the end of the flow?
    Bild zu Frage 5
    1. A"String"
    2. B"Java"
    3. C"Object"
    4. D"XML"
  6. 6Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?
    Bild zu Frage 6
    1. ASummary report of processed records
    2. B[ "Apple", "Banana" ]
    3. C["Apple2", "Banana2" ]
    4. D[ "Apple", "Banana", 2 ]
  7. 7Refer to the exhibits. The Mule application does NOT define any global error handler elements.
    What is the response to a web client request to http://localhost:8081?
    Bild zu Frage 7
    1. A"Before"
    2. B"null"
    3. C"After"
    4. D"Validation Error"
  8. 8Refer to the exhibits. The Set Payload transformer in the For Each scope and the Set Payload transformer in the Batch Job scope's Batch Step scope each contain a Dataweave explression to sleep (pause processing) for the number of milliseconds in the current payload. The batch Job Scope's block size is set to 1.

    In what order are the payload logged in the For Each scope and in the Batch Step scope?
    Bild zu Frage 8
    1. AFor Each scope: 100, 200, 1000, 2000
      Batch Step scope: 4000, 40, 3000, 300
    2. BFor Each scope: 2000, 200, 1000, 100
      Batch Step scope: 4000, 40, 3000, 300
    3. CFor Each scope: 100, 200, 1000, 2000
      Batch Step scope: 40, 300, 3000, 4000
    4. DFor Each scope: 2000, 200, 1000, 100
      Batch Step scope: 40, 300, 3000, 4000
  9. 9An HTTP Request operation sends an HTTP request with a non-empty JSON-formatted object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML-formatted body.
    The result is stored in a target named the Result.
    What is the payload at the event processor after the HTTP Request?
    1. Aapplication/xml
    2. Bapplication/json
    3. Capplication/dw
    4. Dapplication/java
  10. 10A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
    What is the correct DataWeave to call the pascalize function in a Transform Message component?
    1. A%dw 2.0
      output application/json
      import modules.Utility
      ---
      Utility.pascalize("max mule")
    2. B%dw 2.0
      output application/json
      import modules.Utility
      ---
      pascalize("max mule")
    3. C%dw 2.0
      output application/json
      import modules::Utility
      ---
      Utility::pascalize("max mule")
    4. D%dw 2.0
      output application/json
      import modules::Utility
      ---
      pascalize("max mule")

Informationen

Beschreibung
1 eramirez Quiz am MCD Mule 1, erstellt von Edward Yesid Ramírez am 10/11/2021.
Sprache
Español
Aufrufe
17.396
Schlagwörter
eramirez1
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck