合格させるUiPath UiPath-ADPv1テスト問題でテストエンジンとPDFを提供中
あなたをお手軽にUiPath-ADPv1試験合格させるリアルUiPath-ADPv1練習問題集で更新されたのは2024年03月10日
質問 # 91
How to make sure that all Ul Automation activities used within project workflows reference elements from the Object Repository9
- A. By setting the Object Repository Enforced option to Yes in the Ul Automation Modern tab within the Project Settings window.
- B. By setting the Object Repository Enforced option to Yes in the General tab within the Project Settings window.
- C. By setting the Object Repository Enforced option to Yes in the Design tab within the UiPath Studio Settings window.
- D. By setting the Object Repository Enforced option to Yes in the System tab within the Project Settings window.
正解:A
解説:
To ensure that all UI Automation activities within project workflows reference elements from the Object Repository, the 'Object Repository Enforced' option should be set to Yes in the 'UI Automation Modern' tab within the Project Settings window. This setting enforces the use of the Object Repository for UI activities.
質問 # 92
A developer has created a string array variable as shown below:
UserNames = {"Jane", "Jack", "Jill", "John"}
Which expression should the developer use in a Log Message activity to print the elements of the array separated by the string ","?
- A. String.Join(", ", UserNames)
- B. String.Join(UserNames, ", ")
- C. String.Concat(",", UserNames)
- D. String.Concat(UserNames,",")
正解:A
解説:
To print the elements of a string array separated by a specific string, the String.Join method is used in C#. This method takes two parameters: the first is the separator string and the second is the array to join into a single string.
Given the options and the requirement to separate array elements with a comma and a space (", "), the correct expression to use in a Log Message activity would be:
C: String.Join(", ", UserNames)
This will produce a single string with each element of the UserNames array separated by ", " (a comma followed by a space).
質問 # 93
Which Scraping method should be used for the Get Text activity to capture hidden text from an application?
- A. Text attribute
- B. Native
- C. Full text
- D. Default
正解:C
解説:
The Get Text activity in UiPath Studio is used to extract and copy the text from a UI element. It has a property called Scraping method, which allows you to choose the method of scraping text from the target element. The available methods are Default, Text attribute, Full text, and Native.
The Default method tries all the other methods and chooses the best one automatically. The Text attribute method uses the text value of the target element as the output. The Native method uses the native method of the application to scrape the text, and allows formatting and screen coordinates to be retrieved. The Full text method uses an OCR engine to scrape the text, and offers the option to Ignore hidden text, which can be activated by selecting its respective check box.
To capture hidden text from an application, the Full text method with the Ignore hidden text option enabled should be used. This way, the Get Text activity can retrieve the text that is not visible on the screen, but is present in the UI element. For example, this method can be used to get the text from a combo box that has more items than the ones displayed, or from a terminal window that has more editable text than the ones shown.
References: Activities - Get Text - UiPath Documentation Portal, Get Text or Get Full Text for Hidden Text - Studio - UiPath Community Forum, How to: Scrape the Whole Text, Including Hidden Elements from ... - UiPath
質問 # 94
The "arrayOfPomtsGalnedByPanicipant" Object array is created and initialized with the following values:
{"7", "4", "1"}. Which is the value and data type returned, at runtime, by arrayOfPointsGainedByParticipant(1)?
- A. Value: 4
Data Type: String - B. Value: 7
Data Type: Object - C. Value: 7 Data Type String
- D. Value: 4
Data Type: Object
正解:A
解説:
Given the array "arrayOfPointsGainedByParticipant" with values {"7", "4", "1"}, at runtime,
'arrayOfPointsGainedByParticipant(1)' would return the value '4' with the data type 'String'. Arrays in .NET, which UiPath uses, are zero-indexed.
質問 # 95
A project built using REFramework pulls phone numbers from a database of employees and creates queue items for each one. Following processing, these elements must be added to a financing application. The queue item holding a phone number becomes invalid if a digit is accidentally left out because of a human mistake. As a requirement, queue items that contain partial numbers should not be accepted.
What type of error should be thrown according to best practices?
- A. System Exception
- B. Fatal Exception
- C. Application Exception
- D. Business Exception
正解:D
解説:
The type of error that should be thrown according to best practices for queue items that contain partial numbers is Business Exception. A Business Exception is an exception that occurs due to an incorrect or incomplete input data or an expected business rule violation. A Business Exception indicates that the transaction item cannot be processed successfully and should be marked as failed in the queue. A Business Exception can be thrown by using the Throw activity in UiPath Studio, with the exception type set to UiPath.Core.BusinessRuleException. Alternatively, a Business Exception can be thrown by using the Set Transaction Status activity in the REFramework, with the status set to Failed and the exception type set to Business Exception. References: [Business Exception vs Application Exception], [Throw], [Set Transaction Status]
質問 # 96
What are the three main components of UiPath Integration Service?
- A. Connectors, API Tokens, Triggers.
- B. Connectors, Connections, Triggers.
- C. Connectors, Connections, Orchestrator.
- D. Activities, Connections, Triggers.
正解:C
質問 # 97
Which activity should a developer use to add custom information to logs related to transactions for tracing purposes?
- A. Add Custom Log
- B. Add Log Fields
- C. Build Log
- D. Update Logs
正解:B
解説:
The Add Log Fields activity enables you to add custom information to logs related to transactions for tracing purposes1. The activity takes a collection of string arguments as input, which are added to every subsequent log message throughout the entire workflow, unless a Remove Log Fields activity is used1. The custom log fields can be useful for adding more information and visibility to the logs, especially for transactional data processes2. For example, you can use the Add Log Fields activity to add the transaction ID, the transaction status, the business process name, or any other relevant data to the logs2. Therefore, the correct answer is A.
Add Log Fields.
質問 # 98
Consider testing a workflow that computes the sum of two numbers having the data driven test data from the Excel file below:
Expanding the functionality of the workflow to compute the sum of three numbers, the data needs to be updated as well to accommodate the new scenario:
What are steps to do that?
- A. Click Right on the Test Case and select Remove Test Data.
- B. Click Right on the Test Case and select Add Test Data.
- C. Click Right on the Test Case and select Refresh Test Data
- D. Click Right on the Test Case and select Update Test Data
正解:C
質問 # 99
Consider testing a workflow that computes the sum of two numbers having the data driven test data from the Excel file below:
Expanding the functionality of the workflow to compute the sum of three numbers, the data needs to be updated as well to accommodate the new scenario:
What are steps to do that?
- A. Click Right on the Test Case and select Remove Test Data.
- B. Click Right on the Test Case and select Add Test Data.
- C. Click Right on the Test Case and select Refresh Test Data
- D. Click Right on the Test Case and select Update Test Data
正解:C
質問 # 100
While working in an RPA testing project, you encountered the following activity in one of the workflows included in the project.
What action can you perform in your mocked file to replace the functionality of the MessageBox with a LogMessage during mock testing?
- A. Remove mock activity.
- B. Create mock workflow.
- C. Synchronize mock.
- D. Surround activity with mock.
正解:D
解説:
To replace the functionality of the MessageBox with a LogMessage during mock testing, the developer can perform the action of Surround activity with mock. This action inserts a mock activity around the selected activity, which allows the developer to change the behavior of the activity for testing purposes. For example, the developer can right-click on the MessageBox activity and select Surround activity with mock from the dropdown menu. This will create a mock activity that contains the MessageBox activity. The developer can then edit the mock activity and replace the MessageBox activity with a LogMessage activity, which will write the message to the output panel instead of displaying it in a dialog box. This way, the developer can test the functionality of the workflow without having to interact with the MessageBox dialog box. References: [Mock Testing], [Surround Activity with Mock]
質問 # 101
A developer has designed a Performer process using the REFramework template in UiPath Studio. The process is published to an Orchestrator folder named "FolderA" and a job is created in Orchestrator from the package. The value of the OrchestratorQueueName setting in "Config.xlsx" is "QueueA" and the value of OrchestratorQueueFolder is "FolderA".
The developer runs the job from Orchestrator with the following argument values:
in_OrchestratorQueueName = "QueueB" in_OrchestratorOueueFolder = empty value Which queue will be consumed by the robot?
- A. QueueB from FolderA.
- B. QueueB from Shared.
- C. OueueA from FolderA.
- D. QueueA from Shared.
正解:A
解説:
The queue that will be consumed by the robot is QueueB from FolderA. This is because the arguments passed from Orchestrator have priority over the settings from the Config file. Therefore, the value of in_OrchestratorQueueName overrides the value of OrchestratorQueueName, and the value of in_OrchestratorQueueFolder overrides the value of OrchestratorQueueFolder. However, since the value of in_OrchestratorQueueFolder is empty, the default folder where the process is published is used, which is FolderA1.
The other options are not correct, because they do not reflect the values of the arguments passed from Orchestrator. For example:
Option A is incorrect, because the queue name is QueueA, not QueueB.
Option B is incorrect, because the queue folder is Shared, not FolderA.
Option D is incorrect, because the queue folder is Shared, not FolderA.
References:
1: Studio - REFramework Configuration - UiPath Documentation Portal
質問 # 102
A developer wants to add items to a list of strings using the Invoke Method activity. The list is declared as follows:
The Invoke Method activity has the following properties:
The Parameters property is as follows:
Based on the information shown in the exhibits what is the outcome of the Invoke Method activity?
- A. Colors will contain an item with the value "Colors: Yellow".
- B. Colors will contain an item with the value "Yellow".
- C. An exception will be thrown.
- D. Colors will contain an item with an empty value.
正解:B
解説:
The Invoke Method activity is used to invoke a method of a class or an object. In this case, the developer wants to add items to a list of strings using the Invoke Method activity. The list is declared as follows:
Dim Colors As New List(Of String)
This means that the list is named Colors and it can store strings. The Invoke Method activity has the following properties:
TargetType: System.Collections.Generic.List`1[System.String]. This means that the target type is a generic list of strings.
TargetObject: Colors. This means that the target object is the list named Colors.
MethodName: Add. This means that the method name is Add, which is a method of the list class that adds an item to the end of the list.
Parameters: In, String, Yellow. This means that the parameter direction is In, which means that the value is passed to the method. The parameter type is String, which means that the value is a string. The parameter value is Yellow, which means that the value is the string "Yellow".
Based on the information shown in the exhibits, the outcome of the Invoke Method activity is that Colors will contain an item with the value "Yellow". This is because the Invoke Method activity will add "Yellow" to the list of strings declared as Colors.
質問 # 103
Which one of the following expressions Is the equivalent of the If activity from the picture?
- A. message = lf(number mod 2 = 0. "Even number", "Odd number")
- B. message = lf(number mod 2 = 0 then "Odd number" else "Even number")
- C. message = lf(number mod 2 = 0. Odd number. Even number)
- D. message = lf(number mod 2 = 0 {"Odd number"} else {'Even number"})
正解:A
解説:
This expression evaluates if the number modulo 2 equals 0, which would mean it is even. If true, it assigns the string "Even number" to the variable message. If false (meaning the number is odd), it assigns "Odd number" to message
質問 # 104
Starting with UiPath Studio version 2022.10, what happens to dependencies that lack Windows compatibility when they are converted in a project?
- A. They are replaced with compatible alternatives.
- B. They are marked as unresolved.
- C. They are removed from the project.
- D. They are automatically resolved.
正解:B
解説:
Starting with UiPath Studio version 2022.10, dependencies that lack Windows compatibility are marked as unresolved when they are converted in a project. This means that the project cannot be executed until the unresolved dependencies are manually resolved by the developer. This is done to ensure that the project can run on both Windows and Linux platforms without compatibility issues. References: [UiPath Studio Guide - Converting Projects to Linux Compatibility]
質問 # 105
Which of the following describes the correct hierarchy of the elements in the Object Repository tree structure?
- A. Version, Application, Screen, Ul Element.
- B. Application, Version, Screen, Ul Element.
- C. Application, Screen, Ul Element, Version.
- D. Screen, Application, Version, Ul Element.
正解:C
解説:
The Object Repository in UiPath organizes elements in a hierarchical structure that reflects the logical arrangement of user interfaces and elements as they are captured and used in automation projects.
The correct hierarchy for elements in the Object Repository tree structure is:
A: Version, Application, Screen, UI Element.
This hierarchy starts with the 'Version', which could refer to the specific version of the application you are automating. Under each version, there could be multiple 'Applications' that you have elements for. Within each application, you might have captured various 'Screens' or dialogs, and within each screen, there are individual
'UI Elements' like buttons, text fields, dropdown menus, etc., that the automation interacts with.
However, it's important to note that in practice, when you are working with UiPath Studio and its Object Repository, the hierarchy usually starts with the 'Application', then under it, you have different 'Screens' of the application, and under each screen, you have the 'UI Elements'. The 'Version' is typically managed separately and is not a level in the hierarchy tree but rather a property or attribute of the application or element.
Therefore, the most practical answer reflecting the usage in UiPath Studio would be:
C: Application, Screen, UI Element, Version.
The 'Version' here would be understood not as a layer in the hierarchy but rather as an attribute that can be associated with the 'Application' or 'UI Element'.
質問 # 106
A developer has created a variable of type String called "MyNumbers" and assigned to it the following value:
"1. 2, 3.4, 5. 6". What is the resulting data type for the expression MyNumbers.Split("."c)(1)?
- A. Array of String
- B. String
- C. lnt32
- D. Double
正解:B
解説:
When the Split method is used on a String variable, the result is an array of substrings. However, accessing a specific element of this array (e.g., MyNumbers.Split("."c)(1)) returns a single substring, which is a String.
質問 # 107
What status needs to be selected in the Set Transaction Status activity in UiPath Studio so that the respective Queue Item will be retried?
- A. Postponed
- B. Abandoned
- C. Retried
- D. Failed
正解:D
解説:
The Set Transaction Status activity in UiPath Studio is used to set the status of an Orchestrator queue item to Failed or Successful. This activity is usually placed at the end of the Process Transaction state in the REFramework template, after the Try Catch block. The status of the queue item determines whether it will be retried or not.
To retry a queue item, the status needs to be set to Failed. This means that the transaction was not completed successfully, and it needs to be processed again. The number of retries for a queue item depends on the MaxRetryNumber parameter in the Config file of the REFramework. By default, it is set to 2, which means that each queue item can be retried twice before it is marked as permanently failed.
The other options are not valid statuses for the Set Transaction Status activity. Option A is incorrect, because Retried is not a status, but a property of a queue item that indicates whether it has been retried or not. Option C is incorrect, because Abandoned is a status that is automatically assigned by Orchestrator to a queue item that has been in progress for more than 24 hours, and it cannot be retried. Option D is incorrect, because Postponed is a status that is automatically assigned by Orchestrator to a queue item that has a specific start date in the future, and it cannot be retried until that date is reached.
References: Activities - Set Transaction Status - UiPath Documentation Portal, REFramework documentation - UiPath Documentation Portal, Set Transaction Status - Help - UiPath Community Forum, [Set Transaction Status - Orchestrator - UiPath Community Forum]
質問 # 108
......
UiPath-ADPv1リアル無料試験問題と解答:https://www.goshiken.com/UiPath/UiPath-ADPv1-mondaishu.html
2024年最新の実際に出る検証済みの無料UiPath UiPath-ADPv1試験問題:https://drive.google.com/open?id=18FhaTkpJE-_9eMXLX7qVoszYnlS-GQRb