2024年最新の有効なSalesforce-MuleSoft-Developer-I試験最新問題で2024年最新の学習ガイド [Q67-Q90]

Share

2024年最新の有効なSalesforce-MuleSoft-Developer-I試験最新問題で2024年最新の学習ガイド

Salesforce-MuleSoft-Developer-I認定で究極のガイド [2024年更新]

質問 # 67
Refer to the exhibits.

A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

  • A. ${training.host}
  • B. ${training:host}
  • C. #[training.host]
  • D. #[training:host]

正解:A

解説:
Correct answer is ${training.host}
-------------------------------------------------------------------------------------------------------------------------------------------------- How to Configure Properties to Mule 4.X Platform?
1) Go to /src/main/resources project directory.
2) Create a configuration file with the name configuration.yaml inside the newly created config folder.

3) Go To Project > Global Element > Create > General >select the configuration.yaml file create in step- 2)

4) To verify develop a simple flow with HTTP listener which has above entries. Put the logger that prints the values on console.

5) Additional info: Similarly, when you want to access this port in DataWeave you need to use p function


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

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

正解:D

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


質問 # 69
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?

  • A. Center for Enablement
  • B. Center of Excellence
  • C. MuleSoft Support Center
  • D. Central API Review Board

正解:A

解説:
Reference:
Center for Enablement is correct answer .It is a cross-functional team typically staffed with members from central IT, line-of-business departments, and digital innovation teams charged with productizing, publishing, and harvesting reusable assets and best practices. In this case , app team would have checked first with Center for Enablement before developing their own API's. Hence could have avoided re-work


質問 # 70
Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?

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

正解:A


質問 # 71
An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.
What is the payload at the event processor after the HTTP Request?

  • A. The original JSON request body
  • B. null
  • C. A non-empty Java object
  • D. The XML response body

正解:A


質問 # 72
An SLA based policy has been enabled in API Manager. What is the next step to configure the API proxy to enforce the new SLA policy?

  • A. Restart the API proxy to clear the API policy cache
  • B. Add new environment variables and restart the API proxy
  • C. Add required headers to the RAML specification and redeploy the new API proxy
  • D. Add new property placeholders and redeploy the API proxy

正解:C

解説:
Correct answer is Add required headers to RAML specification and redeploy new API proxy MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/tutorial-manage-an-api Steps are as below :
Add the Required RAML Snippet
SLA-based rate limiting requires adding a RAML or OAS snippet to your API. This procedure demonstrates adding a RAML snippet.
Specify the client ID and secret as query parameters.
Add a section called traits: at the RAML root level to define query parameters:
traits:
- client-id-required:
queryParameters:
client_id:
type: string
client_secret:
type: string
Add the client-id-required trait to every method that requires these query parameters:
/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.
Step 2 : Add the SLA Tier in API Manager
Step 3 : Apply the policy and redeploy


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

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

正解:C

解説:
This is a trick question.
You can call only 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


質問 # 74
Refer to the exhibit.

What is the output payload in the On Complete phase

  • A. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
  • B. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
  • C. The original payload: [1,2,31
  • D. summary statistics with NO record data

正解:D

解説:
This is a trcik question. On complete phase pyalod consists of summary of records processed which gives insight on which records failed or passed. Hence option 4 is correct answer MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept#on-complete


質問 # 75
Refer to the exhibit.

The main flow contains a Flow Reference for the child flow.
What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?

  • A. payload
    quantity var
  • B. payload
    color query param
  • C. payload
    quantity var color query param
  • D. payload

正解:C

解説:
Flow Reference Component
Flow Reference routes the Mule event to another flow or subflow, executes all processors in the referenced flow, and then routes the event back within the same Mule application. The following diagram shows the order of processing when one flow references another:

When the main flow is triggered, the Mule event travels through and executes the flow until the event reaches the Flow Reference. The event then travels through and executes the referenced flow from beginning to end, and then returns to the main flow.
This process enables you to treat the entire referenced flow like a single component in your current flow.
Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/flowref-about Correct answer is payload quantity var color query param


質問 # 76
A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?

  • A. An Array of the three JSON payload Objects
  • B. An Array of the three Mule event Objects
  • C. An Object containing all three JSON payload Objects
  • D. An Object containing all three Mule event Objects

正解:D

解説:
Correct answer is An Object containing all three Mule event Objects
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.
Sample output is as below

MuleSoft Documentation reference : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept


質問 # 77
Refer to the exhibit.
The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.
What is the next step to fix the error to get the project to run successfully?

  • A. Edit the dependency in the Mule project's pom.xml file
  • B. Add the dependency to the MULE_HOME/bin folder
  • C. Deploy the dependency to MuleSoft's Maven repository
  • D. Install the dependency to the computer's local Maven repository

正解:D

解説:
As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository.
https://docs.mulesoft.com/mule-runtime/4.3/maven-reference


質問 # 78
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

  • A. To save the most recent records retrieved from a database to enable database caching
  • B. To delete the most recent records retrieved from a database to enable database caching
  • C. To enable duplicate processing of records in a database
  • D. To avoid duplicate processing of records in a database.

正解:D

解説:
The correct answer is To avoid duplicate processing of records in a database.
If a watermark column is provided, the values taken from that column are used to filter the contents of the next poll, so that only rows with a greater watermark value are returned. If an ID column is provided, this component automatically verifies that the same row is not picked twice by concurrent polls.
Mule doc reference : https://docs.mulesoft.com/db-connector/1.8/database-documentation#listener


質問 # 79
What is the correct way to format the decimal 200.1234 as a string to two decimal places?

  • A. 200.1234 as string {format: ".0#"}
  • B. 200.1234 as String as format: ".0#"
  • C. 200.1234 as String {format: ".0#"}
  • D. 200.1234 as string as format: ".0#"

正解:C

解説:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.


質問 # 80
Refer to the exhibits. 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?

A . Validation Error
B . "END"
C . "ERROR1"
D . ''ERROR2"

  • A. "END"
  • B. "ERROR1"
  • C. ''ERROR2"
  • D. Validation Error

正解:C


質問 # 81
Refer to the exhibits.

The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?

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

正解:C


質問 # 82
Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the configured input parameters?

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

正解:B


質問 # 83
Refer to the exhibit.


How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?

  • A. WHERE city = :city AND state = :state
  • B. WHERE city := ${city} AND state := ${state}
  • C. WHERE city = attributes.city AND state = attributes.state
  • D. WHERE city := city AND state := state

正解:A

解説:
Correct syntax to use where clause is WHERE city = :city AND state = :state This question validates knowledge on using dynamic queries in DB select operation.
Configure Dynamic Queries in the Select Operation
When you need to parameterize not only the WHERE clause but also parts of the query itself (for example, queries that compare tables that depend on a condition, or complex queries for which the project table columns need to vary), you can configure dynamic queries.
In the following example, you configure a dynamic query by using a full expression with a string in which the table depends on a variable $(vars.table). Although some of the query text is dynamic ("SELECT * FROM $(vars.table)), the WHERE clause still defines the WHERE condition using input parameters: in this case, WHERE name = :name.
In your Studio flow, select the Select operation.
In the operation configuration screen, set the SQL Query Text field to SELECT * FROM $(vars.table) WHERE name = :name.
Set the Input Parameters field to {'name' : payload}.
The following screenshot shows the configuration in Studio:

Figure 3. Dynamic query configuration
In the XML editor, the <db:sql> configuration looks like this:
<set-variable variableName="table" value="PLANET"/>
<db:select config-ref="dbConfig">
<db:sql>#["SELECT * FROM $(vars.table) WHERE name = :name"]</db:sql>
<db:input-parameters>
#[{'name' : payload}]
</db:input-parameters>
</db:select>
You can apply input parameters only to parameters in a WHERE clause. To modify any other part of the query, use the DataWeave interpolation operator.
Mule Ref Doc: Query a Database Examples - Mule 4 | MuleSoft Documentation


質問 # 84
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 ObjectStore to store the last retrieved record_id value
  • B. Set the target to the record_id column
  • C. Set the target to store the last retrieved record_id value
  • D. Set the watermark column to the record id column

正解:D


質問 # 85
What is not true about application properties?

  • A. Application properties can be defined in .yaml file only
  • B. Application properties provide easier way to manage configurable values
  • C. Application properties can be encrypted
  • D. Application properties can be overridden with system properties

正解:A

解説:
Application properties can be defined in .yaml or in .properties file.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/configuring-properties#supported_files


質問 # 86
Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.
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. addltem( { price: "100", item: "router", itemType: "cable" } )
  • B. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
  • C. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
  • D. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )

正解:D


質問 # 87
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


質問 # 88
What is the difference between a subflow and a sync flow?

  • A. Subflow is synchronous and sync flow is asynchronous
  • B. Subflow has no error handling of its own and sync flow does
  • C. Sync flow has no error handling of its own and subflow does
  • D. No difference

正解:B

解説:
Correct answer is Subflow has no error handling implementation where as sync flow has.
Subflow
A subflow processes messages synchronously (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception strategy employed by the triggering flow. While a subflow is running, processing on the triggering flow pauses, then resumes only after the subflow completes its processing and hands the message back to the triggering flow.
Synchronous Flow
A synchronous flow, like a subflow, processes messages synchronously (relative to the flow that triggered its execution). While a synchronous flow is running, processing on the triggering flow pauses, then resumes only after the synchronous flow completes its processing and hands the message back to the triggering flow. However, unlike a subflow, this type of flow does not inherit processing or exception strategies from the triggering flow.
This type of flow processes messages along a single thread, which is ideally suited to transactional processing


質問 # 89
A Mule application contains two HTTP Listeners, each configured for different API endpoints: http://acme.com/apis/orders and http: //acme .com/a pis/customers.
What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?

  • A. /apis/
  • B. /apis/*
  • C. /apis/?
  • D. /apis/orders|customers

正解:B

解説:
Option 2 is the correct answer as /api/* accespts everything starting with /api/


質問 # 90
......


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

トピック出題範囲
トピック 1
  • Mule アプリケーションのデバッグとトラブルシューティング: 実行時にブレークポイントを使用して Mule イベントを検査する方法、不足している Maven 依存関係をインストールする方法、Mule ログ エラー メッセージの読み取りと解読方法は、このトピックのサブトピックです。
トピック 2
  • DataWeave を使用したデータの変換: DataWeave スクリプトの作成と DataWeave 関数の使用が含まれます。このトピックには、DataWeave 変数、関数、モジュールの定義と使用、および正しい構文の適用も含まれます。
トピック 3
  • イベントのルーティング: 条件付きロジックに Choice ルーターを使用し、イベントをマルチキャストするために Scatter-Gather ルーターを使用することに焦点を当てます。このトピックでは、検証モジュールを使用してデータを検証することも取り上げます。
トピック 4
  • Mule イベントへのアクセスと変更: Mule イベント データ構造について説明します。さらに、このトピックでは、トランスフォーマーの使用と Mule イベントの強化に焦点を当てています。
トピック 5
  • アプリケーション ネットワークの作成: アプリケーション ネットワークの作成というトピックには、IT 配信ギャップを埋めるための MuleSoft の提案を理解し、最新の API の役割と特性を説明することが含まれます。また、Center for Enablement (C4E) の目的と役割、および API 主導の利点も含まれます。
トピック 6
  • API の設計: API の設計には、最新の API のライフサイクルを記述し、RAML を使用して API のさまざまな側面を定義することが含まれます。クエリ パラメータと URI パラメータをいつ使用するか識別し、API パラメータを定義することが含まれます。
トピック 7
  • API 実装インターフェースの構築: このトピックでは、Mule アプリケーション用の RESTful インターフェースを手動で作成し、RAML 仕様から REST コネクタを生成します。また、APIkit の機能と利点についても説明します。

 

Salesforce-MuleSoft-Developer-I練習試験と学習ガイドは厳密検証されたにはPassTest:https://www.passtest.jp/Salesforce/Salesforce-MuleSoft-Developer-I-shiken.html

2024年最新のな厳密検証された合格させるSalesforce-MuleSoft-Developer-I学習ガイドベズトお試しセット:https://drive.google.com/open?id=13bQcZL171UfoSEdPugnX6EM7BMvxdKhi