今すぐMule-Dev-201問題を使おうMule-Dev-201問題集PDF [Q48-Q73]

Share

今すぐMule-Dev-201問題を使おうMule-Dev-201問題集PDF

問題集練習試験問題学習ガイドはMule-Dev-201試験合格させます

質問 # 48
What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021

  • A. Patient with id 2021
  • B. No patients
  • C. Patients from year 2021
  • D. All patients

正解:C

解説:
Correct answer is Patients from year 2021.
The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021


質問 # 49
Refer to the exhibits.


The main flow contains a Flow Reference component configured to callthe child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?

  • A. The payload and all attributes
  • B. The payload
  • C. The payload and all variables
  • D. The entire Mule event

正解:C


質問 # 50
What does C4E stands for in MuleSoft recommended IT operatingmodel?

  • A. Centre for Empowerment
  • B. Centre for Engagement
  • C. Centre for Excellence
  • D. Centre for Enablement

正解:D

解説:
Centre for Enablement (C4E) is an IT operating model that enables an enterprise to build reusable assets, accumulate API's, leveragebest practices and knowledge to enable self service and efficient delivery in the organization and implement new solutions faster


質問 # 51
A Mule application contains aglobal error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

  • A. A global element
  • B. A configuration properties file
  • C. Nowhere, the global error handler is automatically used
  • D. The pom.xml file

正解:A

解説:
Correct answer is A global element
Global error handlers are to be created in global element .
Quick note to remember here is Global error handlers come in to pictureonly when there are no error handlers specified as flow level.
Steps to create Global error handler
1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas
2) In Global Configuration Elements,click Create to open the Choose Global Type dialog Graphical user interface, text, application, chat or text message Description automatically generated

3) From the dialog, select Global Configuration -# Configuration, and then click OK to open the Configuration dialog.
Graphical user interface, text, application, email Description automatically generated

4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.


質問 # 52
A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.
The Mule application must now be exported from Anypoint Studio and shared with another developer.
What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?

  • A. Option A
  • B. Option C
  • C. Option D
  • D. Option B

正解:C


質問 # 53
Refer to the exhibits.


What payload and quantity are logged at the end of the main flow?

  • A. [orderlorder2order3order4,14]
  • B. [[1,2,3,4], 14]
  • C. [[order1, order2, order3, order4], 14]
  • D. [[1,2,3,4], 10]

正解:B


質問 # 54
A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines afunction named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?

  • A.
  • B.
  • C.
  • D.

正解:A


質問 # 55
Refer to the exhibits.

The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', withouthardcoding 2020?

  • A. The year is #[payload.year]'
  • B. #["The year is "++ payload.year].
  • C. '#[The year is " + paytoad.year]'
  • D. '#[The year is $(pay load .year)]*

正解:B


質問 # 56
Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

  • A. Configuration file
  • B. Cloudhub
  • C. POM.xml
  • D. Global element

正解:C

解説:
POM.xml contains info about the project and configurationn details used by Maven to build the project


質問 # 57
A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

  • A. Mule event
  • B. Mule application properties
  • C. Mule event message
  • D. Mule event attributes

正解:A

解説:
Mule event is correct answer. Mule event has two parts which are as follows
1) Message (which contains payload and attributes like headers and query/uri parameters
2) Variables
Diagram Description automatically generated


質問 # 58
According to Semantic Versioning, which version would you change for incompatible API changes?

  • A. MAJOR
  • B. MINOR
  • C. No change
  • D. PATCH

正解:A

解説:
Correct answer is MAJOR
MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes.
For details refer to this documentation : https://semver.org/


質問 # 59
How can you call a subflow from Dataweave?

  • A. Include function
  • B. Not possible in Mule 4
  • C. Lookup function
  • D. Import function

正解:C

解説:
This is a trick question.
You can callonly flows from DataWeave using lookup function. Note that lookup function does not support calling subflows.
A subflow needs a parent context to inherit behaviors from such as exception handling, which a flow does not need Hence correct answer is Not possible in Mule 4


質問 # 60
How we can scale deployed Mule application vertically on cloudhub?

  • A. Adding multiple workers
  • B. Mule applications can be scaled only horizontally
  • C. Changingworker size
  • D. Option 1 and 2 both can be used

正解:C

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


質問 # 61
What HTTP method in a RESTful web service is typically used to completely replace an existing resource?

  • A. GET
  • B. PUT
  • C. PATCH
  • D. POST

正解:B

解説:
PUT replaces the original version of the resource, whereas the PATCH method supplies a set of instructions to modify theresource


質問 # 62
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

  • A. Implements line of business projects to enforce common security requirements
  • B. Creates and manages discoverable assets to be consumed by line of business developers
  • C. Implements line of business projects to enforce common security requirements
  • D. Centrally manages partners and consultants to implement line of business projects

正解:B

解説:
Correct answer is Creates and manages discoverable assets to be consumedby line of business developers.
C4E does not get directly involved in projects.


質問 # 63
What is the object type returned by the File List operation?

  • A. Object of String filenames
  • B. Array of Mule event objects
  • C. Array of String file names
  • D. Object of Mule event objects

正解:B

解説:
The List operation returns an array of messages in which: Each message holds the file's content in its payload.
The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.


質問 # 64
Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.
Aweb client sends a GET request to the HTTP Listener with the sty query parameter set to 30.
After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to theHTTP Request operation?

  • A. The payload and all attributes
  • B. All variables
  • C. The payload and all variables
  • D. The entire Mule event

正解:C


質問 # 65
By default, what happens to a file after it is read using an FTP connector Read operation?

  • A. The file is renamed in the same folder
  • B. The file stays in the same folder unchanged
  • C. The file is moved to a different folder
  • D. The file is deleted from the folder

正解:B

解説:
File is not updated when FTP read operations is performed.
MuleSoft Doc Ref : https://docs.mulesoft.com/file-connector/1.3/file-read


質問 # 66
A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?

  • A.
  • B.
  • C.
  • D.

正解:D


質問 # 67
As a part of requirement , application property defined below needs to be accessed as dataweave expression.
What is the correct expression to map it to port value?

  • A. { port : p('db.port')}
  • B. Application property cannot be accessed in Dataweave
  • C. { port : p['db.port']}
  • D. { port : {db:port}}

正解:A

解説:
Option 1 is the correct syntax


質問 # 68
A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.
What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

  • A. Put the Database SELECT operation inside a Cache scope
  • B. Put the Database SELECT operation inside a Message Enricher scope
  • C. Nothing, previous payloads are combined into the next payload
  • D. Save the payload from the Database SELECT operation to a variable

正解:D

解説:
Correct answer is Save the payload from the Database SELECT operation to a variable Response from HTTP requestwill override the payload and hence response of database SELECT can be lost.
Best way to preserve is to assign payload of first operation to variable using TransformMessage.


質問 # 69
Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column.
The Address table currently contains tour (4) records. The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column and then the Mule application is run in Anypoint Studio tor the first time, and the On Table Row Database listener polls the Address table.
Anew row is added to the database with 1D=5 and ZIPCODE-90006, and then the On Table Row Database listener polls the database again.
Alter the next execution of the On Table Row Database listener polling, what database rows have beenprocessed by the Mule flow since the Mule application was started?

  • A. ID ZIPCODE1 900012 900053 900094 90001
  • B. ID ZIPCODE1 900012 900053 900095 90006
  • C. ID ZIPCODE1 900012 900053 900094 900015 90006
  • D. ID ZIPCODE1 900012 900053 90009

正解:A


質問 # 70
How are multiple conditions used in a Choice router to route events?

  • A. To route the same event to the matched route of EVERY true condition
  • B. To find the FIRST true condition, then distribute the event to the ONE matched route.
  • C. None of these
  • D. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes

正解:B

解説:
Choice router finds the FIRST true condition, then distribute the event to the ONE matched route.
MuleSoft Doc Ref: https://docs.mulesoft.com/mule-runtime/4.1/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggersthat route's execution and the others are not checked. If none of the expressions are true, then the default route executes.
Diagram Description automatically generated


質問 # 71
Refer to the exhibits.

The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown in below exhibit.
What is the value of the payload displayed in the debugger at this breakpoint?

  • A. Process
  • B. Payload is always empty at the breakpoint
  • C. Finished
  • D. Start

正解:D

解説:
Setting Breakpoints
To set breakpoints, right-click a building block, then select Toggle Breakpoint.
Studio applies a red dot to the building block's icon on the canvas.
When you run your application in Debug mode, Studio stops the flow execution at the breakpoint you have set, allowing you to check the Mule Event content in the Mule Debugger View.
Mule Ref Doc : Setting Breakpoints | MuleSoft Documentation


質問 # 72
Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an orderobject.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?

  • A. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
  • B. addltem( { price: "100", item: "router", itemType: "cable" } )
  • C. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
  • D. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )

正解:A


質問 # 73
......

無料Salesforce MuleSoft Mule-Dev-201試験問題:https://www.jpntest.com/shiken/Mule-Dev-201-mondaishu

Mule-Dev-201問題集には練習試験問題解答:https://drive.google.com/open?id=16cXb1vKxAXBOFd1AlLFidjGtvsyVzZoF

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡