[2025年04月29日]Salesforce-MuleSoft-Developer-I試験問題集、Salesforce-MuleSoft-Developer-I練習テスト問題 [Q127-Q151]

Share

[2025年04月29日]Salesforce-MuleSoft-Developer-I試験問題集、Salesforce-MuleSoft-Developer-I練習テスト問題

無料で使えるSalesforce-MuleSoft-Developer-I学習ガイド試験問題と解答


Salesforce Salesforce-MuleSoft-Developer-I 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Processing Records: Processing records includes methods for processing individual records in a collection and explaining how Mule events are processed by the For Each scope. It also involves using the Batch Job with Batch Steps and a Batch Aggregator.
トピック 2
  • Deploying and Managing APIs and Integrations: It includes packaging Mule applications for deployment and deploying them to CloudHub. This topic also involves using CloudHub properties, creating and deploying API proxies, connecting an API implementation to API Manager, and applying policies to secure an API.
トピック 3
  • Building API Implementation Interfaces: This topic involves manually creating a RESTful interface for a Mule application and generating a REST Connector from a RAML specification. It also includes describing the features and benefits of APIkit.
トピック 4
  • Handling Errors: Handling errors includes describing default error handling in Mule applications and defining custom global default error handlers. It involves comparing On Error Continue and On Error Propagate scopes, creating error handlers for a flow, using the Try scope, and mapping errors to custom application errors.
トピック 5
  • Transforming Data with DataWeave: It involves writing DataWeave scripts and using DataWeave functions. This topic also includes defining and using DataWeave variables, functions, and modules, and applying correct syntax.
トピック 6
  • Using Connectors: It focuses on retrieving data from REST services using HTTP Request or REST Connector. Moreover, the topic covers using a Web Service Consumer connector for SOAP web services and the Transform Message component.
トピック 7
  • Accessing and Modifying Mule Events: It describes the Mule event data structure. Moreover, the topic focuses on usage of transformers and enriching Mule events.
トピック 8
  • Structuring Mule Applications: Structuring Mule applications covers parameterizing an application and defining and reusing global configurations. It includes breaking an application into multiple flows using private flows, subflows, and the Flow Reference component.
トピック 9
  • Creating Application Networks: The topic of creating Application Networks encompasses understanding MuleSoft’s proposal for closing the IT delivery gap and describing the role and characteristics of the modern API. It also includes the purpose and roles of a Center for Enablement (C4E), and the benefits of API-led.
トピック 10
  • Routing Events: It focuses on using the Choice router for conditional logic and the Scatter-Gather router to multicast events. This topic also involves validating data by using the Validation module.
トピック 11
  • Designing APIs: Designing APIs involves describing the lifecycle of the modern API and using RAML to define various aspects of an API. It includes identifying when to use query parameters vs URI parameters, and defining API parameters.

 

質問 # 127
Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work successfully?


  • A. Change the allowed method attributes value to "POST"
  • B. Change the method attribute value to "*''
  • C. Change the protocol attribute value to "HTTPS"
  • D. Change the path attribute value to "/api/ship"

正解:A

解説:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)


質問 # 128
What DataWeave expression transforms the array a to the XML output?

  • A. 1. 1. {(
    2. 2. trains:
    3. 3. a map ((engId, index) ->
    4. 4. train: {
    5. 5. TrainNumber: engId
    6. 6.
    7. 7. }
    8. 8. )
    9. )}
  • B. 1. 1. trains:
    2. 2. a map ((engId, index) ->
    3. 3. train: {
    4. 4. TrainNumber: engId
    5. 5.
    6. 6. }
    7. 7. )
  • C. 1. 1. {
    2. 2. trains:
    3. 3. a map ((engId, index) ->
    4. 4. train: {
    5. 5. TrainNumber: engId
    6. 6.
    7. 7. }
    8. 8. )
    9. }
  • D. 1. 1. trains:
    2. 2. {(
    3. 3. a map ((engId, index) ->
    4. 4. train: {
    5. 5. TrainNumber: engId
    6. 6.
    7. 7. }
    8. 8. )
    9. 9. )}

正解:D

解説:
For such questions always look for Syntax:
I call it "Wrap the Map"
trains:
{(
When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}
-{ } are defining the object
-( ) are transforming each element in the array as a key/value pair


質問 # 129
Refer to the exhibits.

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?

  • A. Set a response header with the name Content-Type to a value of applkation/xml
  • B. Set a response header with the name Content-Type to a value of application/octet-stream
  • C. Set a request header with the name Content-Type to a value of applicatron/octet-stream
  • D. Set a request header with the name Content-Type to a value of application/xml

正解:D

解説:
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. As per RAML input is expected in application/xml.
Hence correct answer is Set a request header with the name Content-Type to a


質問 # 130
An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.
How should the listener be configured so it retrieves new rows at most one time?

  • A. Set the target to store the last retrieved record_id value
  • B. Set the watermark column to the record id column
  • C. Set the ObjectStore to store the last retrieved record_id value
  • D. Set the target to the record_id column

正解:B


質問 # 131
Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.
What is the payload shown in the debugger at this breakpoint?

  • A. 0
  • B. The entire CSV file
  • C. "none"
  • D. The database response

正解:A


質問 # 132
Refer to the exhibits.


The Validation component in the Try scope throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

  • A. Success - main flow
  • B. Error - Try scope
  • C. Validation Error
  • D. Error - main flow

正解:A

解説:
Note that private flow has error scope defined as On Error Continue . So when error occurs in private flow , it is handled by this On Error Continue scope which sends success response back to main flow and does not throw back an error. So main continues normally and payload is set to Success - main flow.
Hence correct answer is Success - main flow
1) HTTP listener received request
2) The Flow Reference calls the child flow
3) The Is Number validator creates an Error Object because the payload isn't an integer. Child Flow execution stops
#[error.description] = "payload is not a valid INTEGER value"
#[error.errorType] = VALIDATION:INVALID_NUMBER
4) The On Error Continue handles the errorThe payload is set to "Error - Sub Flow"
5) "Error - Sub Flow" is returned to the main flow as if the child flow was a success. The Set Payload is executed. The payload is reset to "Success - Finished Main Flow"
6) "Success - Main Flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200 As you can see, in the above example, because the error was caught by an On Error Continue scope in the child flow (RED in, GREEN out) when the Mule Message returns to the parent flow, the parent flow knows none-the-different that there was a failure because the on error continue returns a 200 success message. Note that because, to the mainFlow, the childFlow appeared to succeed, the processing of mainFlow resumed after the flow reference.


質問 # 133
A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

  • A. Select only below option 2) Include project module and dependencies
  • B. No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies
  • C. Select both the options 1) Attach project sources 2) Include project module and dependencies
  • D. Select only below option 1) Attach project sources

正解:A

解説:
You can choose Attach Project Sources to include metadata that Studio requires to reimport the deployable file as an open Mule project into your workspace. You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace. But requirement here is to create smallest deployable archive that will successfully deploy to Cloudhub. Hence we can ignore this option.
We need to select Include project module and dependencies
As actual modules and external dependencies required to run the Mule application in a Mule runtime engine Hence correct answer is Select only below option 2) Include project module and dependencies MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.5/import-export-packages#exporting-a-studio-project-to-a-deployable-mule-application


質問 # 134
Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?

  • A. set a SOAP payload before the Consume operation that contains the destination query parameter
  • B. set a JSON payload before the Consume operation that contains the destination query parameter
  • C. set a property m the Consume operation equal to the destination query parameter
  • D. Set a header In the Consume operation equal to the destination query parameter

正解:A

解説:
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter


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

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

正解:B

解説:
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/


質問 # 136
Refer to the exhibits. The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.
What response message is returned to the web client?

  • A. "OTHER ERROR"
  • B. "File written"
  • C. "ORDER: NOT CREATED"
  • D. "FILE: CONNECTMTV

正解:C


質問 # 137
Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

  • A. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
  • B. lookupC createCustomerObJect( "Alice", "Green- ) )
  • C. createCustomerObject( "Alice", "Green")
  • D. createCustomerObject( { first: "Alice", last: "Green" > )

正解:A

解説:
lookup(String, Any, Number)
This function enables you to execute a flow within a Mule app and retrieve the resulting payload.
It works in Mule apps that are running on Mule Runtime version 4.1.4 and later.
Similar to the Flow Reference component (recommended), the lookup function enables you to execute another flow within your app and to retrieve the resulting payload. It takes the flow's name and an input payload as parameters. For example, lookup("anotherFlow", payload) executes a flow named anotherFlow.
Correct answer is
lookup( "createCustomerObject", {first: "Aice, last: "Green"})
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-mule-functions-lookup


質問 # 138
A 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?

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

正解:C


質問 # 139
Refer to the exhibits.


The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?

  • A. #[ company = "MuleSoft" ]
  • B. #['MuleSoft' == paytoad.company]
  • C. #[ if( 'MuleSoff == payload.company) ]
  • D. #[ if( company = "MuleSoft") ]

正解:B


質問 # 140
How does APIkit determine the number of flows to generate from a RAML specification?

  • A. Creates a separate flow for each resource
  • B. Creates a separate flow for each response status code
  • C. Creates a separate flow for each resource that contains child resources
  • D. Creates a separate flow for each HTTP method

正解:D

解説:
APIKIt Creates a separate flow for each HTTP method


質問 # 141
Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.
A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.
What values are accessible to the Logger component at the end of the main flow?

  • A. payload
    pedigree query params producer var
  • B. payload
  • C. payload
    pedigree query params
  • D. payload
    producer var

正解:D

解説:
In this case as outbound call is made using HTTP: POST /child , all attributes will be replaced by this invocation. Hence query parameter will not be accessible at logger. Hence correct answer is option 2


質問 # 142
Refer to the exhibit.


The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?''
What response message is returned?

  • A. other error
  • B. success - main flow
  • C. HTTP: NOT FOUND
  • D. APP: API RESOURCE NOT FOUND

正解:D

解説:
Correct answer is APP: API RESOURCE NOT FOUND
---------------------------------------------------------------------------------------------------------------------------------------------------
1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.
4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500 Reference Diagram:


質問 # 143
Refer to the exhibits.


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

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

正解:B


質問 # 144
Refer to the exhibits.


A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.
What response message is returned to the web client?

  • A. ''FILE:CONNECnvnY'
  • B. "OTHER ERROR"
  • C. "File written"
  • D. "ORDER:NOT_CREATED"

正解:D


質問 # 145
Which of the below is not the mandatory configurations for HTTP Listener?

  • A. HTTP host in Connector Configuration
  • B. HTTP port in Connector Configuration
  • C. Path
  • D. Allowed methods

正解:D

解説:
Allowed methods is an optional configuration. If nothing is specified then all HTTP methods are supported.
Rest all are mandatory.


質問 # 146
Refer to the exhibits.


Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

  • A. vars."customer"."firstName"
  • B. customer.firstName
  • C. vars."customer.firstName"
  • D. firstName

正解:A

解説:
Correct answer is vars."customer"."firstName"
Please note that you can also access firstName using this syntax vars.customer.firstName.
Mule Ref Doc : Variables in Mule Apps | MuleSoft Documentation


質問 # 147
Refer to the exhibits.


A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?

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

正解:C

解説:
Scatter-Gather Router
The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully.
The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.
Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept


質問 # 148
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. { port : p['db.port']}
  • C. { port : {db:port}}
  • D. Application property cannot be accessed in Dataweave

正解:A

解説:
Option 1 is the correct syntax


質問 # 149
Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.
A web 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 the HTTP Request operation?

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

正解:A


質問 # 150
Refer to the exhibits.


A Mule application contains a Choice router. What is logged when the flow completes?

  • A. ["US", "EU"]
  • B. EU
  • C. "REGION"
  • D. US

正解:D


質問 # 151
......

Salesforce-MuleSoft-Developer-I試験問題集、Salesforce-MuleSoft-Developer-I練習テスト問題:https://jp.fast2test.com/Salesforce-MuleSoft-Developer-I-premium-file.html

検証済みSalesforce-MuleSoft-Developer-I問題集PDF資料 [2025年更新]:https://drive.google.com/open?id=18OV0fjU6mzUIKM7LJdsXS9Mbix2HZf0w


弊社を連絡する

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

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어