Oracle 1Z0-1071-20 Dumps Updated [Sep-2021] Get 100% Real Exam Questions! [Q19-Q44]

Share

[Sep-2021] Pass Oracle 1Z0-1071-20 Exam in First Attempt Guaranteed!

Full 1Z0-1071-20 Practice Test and 80 unique questions with explanations waiting just for you, get it now!

NEW QUESTION 19
Consider this code snippet:

Which two statements about this code are true?

  • A. The system.webview component acts a gateway to a web app by naming the Webview service, i.e., DisputeFormService, in the code snippet.
  • B. This code snippet supports only one variable as a return value from the web application. When there are multiple return values, they need to be comma-separated. For example:
    variable: "outputfromwebl, outputfromweb2 M
  • C. If the web app returns any values, the System.webview component will store them in the outputfromweb variable.
  • D. The web app returns two values and will store them in the fullname and amount variables, respectively.

Answer: A,C

 

NEW QUESTION 20
Which two statements are true regarding local web application invocation using the system.webview component?

  • A. Local webviews require a Node.js environment and must have a package, json file in their root folder.
  • B. Local webviews require SPA applications to have an index.html file in their root folder.
  • C. system.webview components can only be used with web channels.
  • D. An SPA application can issue an Ajax post command to the callback URL that has been passed with the web application launch

Answer: A,B

 

NEW QUESTION 21
When testing your skill, you notice that two of its intents consistently rank as the top two, resolving within just a few points of each other.
Given the unpredictable nature of which intent gets the top score, what would you do to allow the skill user to choose the correct intent?

  • A. Change the Explicit Invocation Threshold to zero to ensure that the correct intent is picked up when the user mentions the name of the intent.
  • B. Keep adding training data until you get a predictable result every time.
  • C. Change the Confidence Threshold during your testing until the correct intent always wins.
  • D. Change the Confidence Win Margin so that both intents are offered to the user.
  • E. For each intent, create an entity of phrases that are distinct to each intent, and add the appropriate entity to the corresponding intent.

Answer: A

 

NEW QUESTION 22
You want your skill to prompt users for their first name. The name must then be used in the welcome message at the beginning of each bot-user session.
Your user interface guidelines require that each part of the name begin with a capital letter (for example, John Doe or John William Doe).
Which two BotML code examples print the username correctly if the name is provided as "jOhn William doe" or "JOHN doe"?

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

Answer: A,C

 

NEW QUESTION 23
An input component references an entity-type variable from its variable property and does not have the maxPrompts property set. Which two statements describe valid options to help users deal with validation errors?

  • A. You can use the onlnvaliduserlnput property on the System.commonResponse component to conditionally show or hide UI controls.
  • B. You can use the user input component's textReceived action transition to detect validation errors and to navigate to a state in the dialog flow.
  • C. You can use the user input component's cancel action transition to navigate to a different state in the dialog flow, display a help message to the user, and navigate back into the dialog flow state that previously failed input validation.
  • D. You can use the system. invaliduserinput?booiean expression to detect a previously failed input validation and display alternative prompts or additional UI controls.
  • E. You can use the alternatePrompt property for user input components to display alternative prompts.

Answer: A,D

 

NEW QUESTION 24
In your conversation flow, you want to make sure that users always see a message, even when there is no data to display. To implement this, you decide to use a system.setvariable component that verifies that the variable mydata contains a value and, if it does, sets the value of the displayVar variable to the value of mydata. If no value is specified for mydata, then displayVar is set to the string 'No Data 1.
Which two BotML with Apache FreeMarker examples implement this requirement?

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

Answer: B,E

 

NEW QUESTION 25
Consider the following dialog flow code in a skill:

Which statement is true?

  • A. The skill displays the message "Please wait, we're reviewing your order", then displays "Almost done...", and then waits for user input.
  • B. The skill displays the message "Please wait, we're reviewing your order" and then waits for user input.
  • C. The skill displays the message "Please wait, we're reviewing your order", then displays "Almostdone...", then displays "Thank you for your order.", and then completes the conversation.
  • D. The skill displays the message "Please wait, we're reviewing your order", then displays "Almost done...", then displays "Thank you for your order.", and then waits for user input.

Answer: C

 

NEW QUESTION 26
Which three options are true for this dialog flow code?

  • A. The system.List component always displays a list of options, regardless of the value of accountType.
  • B. If System.SetVariable sets accountType to a value, the System.List component does not display a list of options.
  • C. If no accountType value is set in the startBalances state, the Dialog Engine moves to the next state, askBalancesAccountType, which lists options for different account types.
  • D. The code is poorly programmed because the accountType variable will be set twice.
  • E. Usage of empty transitions is a bad practice because it can lead to unexpected results.

Answer: A,B,C

 

NEW QUESTION 27
Which three statements are true about composite bag entities?

  • A. When you add entities to the composite bag, you can control how they get extracted in related to other entities and when they are prompted for.
  • B. You need to create a separate composite bag to handle nonentity types such as strings. Locations, and attachments.
  • C. They define a business domain object as a collection of related system entities and custom entities.
  • D. The composite bag can resolve all entity values using only a single state in the dialog flow.
  • E. The composite bag will always enforce that every entity has a valid value before allowing the conversation to move on to the next state in the dialog flow.

Answer: A,D,E

 

NEW QUESTION 28
Which two statements about message translation in a skill are true?
If auto-translation is enabled and a component has its translate property set to false, then the component output message or level will not get auto-translated to the detected user languages.
A system.Output component that reads its text message from a resource bundle does not require auto-translation or its translate property set to true to display translated.

  • A. A missing system. DetectLanguage state in a dialog flow causes an exception for components that read their output message from bundle.
  • B. Enabling auto-translation in a dialog flow does not translate the user input message.
  • C. For the System.Translateinput component to work, it requires a previously executed system.DetectLanguage component state.

Answer: B,C

 

NEW QUESTION 29
You want the flow to navigate to the cancel transition immediately after the maximum number of failed attempts are exceeded in the System.ResolveEntities Components.
Which option must you use?

  • A. There is no such option in system.ResolveEntitis
  • B. Set cancelPolicy to "immediate".
  • C. Set cancelPolicy to "lastEntity" .
    https://docs.oracle.com/en/cloud/paas/digital-assistant/use-chatbot/built-components-properties-transitions-and-usage.html#GUID-259C152F-3F53-4422-B89C-6FA7F01C1762 cancelPolicy Determines the timing of the cancel transition:
    immediate-Immediately after the allotted maxPrompts attempts have been met for an entity in the bag.
    lastEntity-When the last entity in the bag has been matched with a value.
  • D. Set cancelPolicy to "true" .

Answer: B

 

NEW QUESTION 30
You are designing a skill for a railway company. You created a value list entity (StationEntity), which is the list of all possible train stations To resolve an intent (Routelnfolntent), you need to determine whether the user is asking for a route which is either to a station or from a station.
Which statement describes the most robust and efficient approach for extracting this information from the user input?

  • A. Add StationEntity to the Routelnfolntent intent and then update the training data with phrases beginning with "from".
  • B. Create two derived entities based on StationEntity. In one entity, set the preceding phrase to "to" (along with any required synonyms). In the other entity, do the same but with the preceding phrase "from". Add both entities to the Routelnfolntent intent.
  • C. Create a value list entity called ToFromEntlty with values of "to" and "from" and with appropriate synonyms for each value. Create a value list called DirectionStation and add ToFromEntity and StationEntity to this. Then, add DirectionStation to the Routelnfolntent.
  • D. Duplicate StationEntity. In one version, prefix all of the train station names with "to" and in the other prefix with "from". Then add both entities to the Routelnfolntent intent.

Answer: B

 

NEW QUESTION 31
Which three options are true for this dialog flow code?

  • A. The system.List component always displays a list of options, regardless of the value of accountType.
  • B. If System.SetVariable sets accountType to a value, the System.List component does not display a list of options.
  • C. If no accountType value is set in the startBalances state, the Dialog Engine moves to the next state, askBalancesAccountType, which lists options for different account types.
  • D. The code is poorly programmed because the accountType variable will be set twice.
  • E. Usage of empty transitions is a bad practice because it can lead to unexpected results.

Answer: A,B,C

 

NEW QUESTION 32
Which two statements about message translation in a skill are true?

  • A. If auto-translation is enabled and a component has its translate property set to false, then the component output message or level will not get auto-translated to the detected user languages.
  • B. A missing system. DetectLanguage state in a dialog flow causes an exception for components that read their output message from bundle.
  • C. Enabling auto-translation in a dialog flow does not translate the user input message.
  • D. A system.Output component that reads its text message from a resource bundle does not require auto-translation or its translate property set to true to display translated.
  • E. For the System.Translateinput component to work, it requires a previously executed system.DetectLanguage component state.

Answer: B,D

 

NEW QUESTION 33
What happens after the skill output Welcome to our store's chat bot!'' in this dialog flow?

  • A. The skill goes to output2, outputs "You can ask me about what products we have in the store", and then returns control to the user.
  • B. The skill displays "Welcome to our store's chat bot!" again.
  • C. The skill returns control to the user. After the user enters text, it goes to the intent state.
  • D. The skill returns control to the user. After the user enters text, it goes to output2 and outputs "You can ask me about what products we have in the store."

Answer: B

 

NEW QUESTION 34
The agentActions property in the System.AgentInitiation component:

  • A. Sets the agent's post-chat configuration (for example, "ready", "wrap", and so on).
  • B. Sets the message to be displayed if an agent refuses a chat request.
  • C. Sets the message to be displayed when an agent is first connected to a chat session.
  • D. Defines the states to which agents can optionally transfer a user when the agent ends the chat.

Answer: D

 

NEW QUESTION 35
Imagine that you have a financial planning skill. Which two functionalities would typically be implemented as a custom component?

  • A. running the skill within a webpage
  • B. routing to another skill within the suite of skills assembled within a digital assistant
  • C. displaying any type of input component
  • D. returning the current value of a requested stock price in a skill message
  • E. routing the dialog flow based on values returned from a backend service

Answer: A,E

 

NEW QUESTION 36
In reviewing a colleague's code, you note the following code in the dialog flow which takes user input and replaces the words "authorized user" or "auth user" with "AU" before then calling the intent resolution in the dialog flow with the altered string.
"${utterance.value?replace('authorized user|auth user', 'AU','r')}"
Why would your colleague have done this?

  • A. "Authorized" and "auth" are reserved words and would fail intent resolution.
  • B. By replacing "Authorized" and "auth", one is able to bypass the usual authentication mechanism, which requires a user to log on.
  • C. The sentence is being normalized by replacing different versions of words such that they are aligned with the term used in the training utterances.
  • D. The language tag is being changed to Australian (AU) to better match the language of the training utterances.
  • E. The above code has no impact on intent resolution.

Answer: E

 

NEW QUESTION 37
Error handlers can be defined in various locations with different scopes.
Which three statements are true about error handling?

  • A. An error handler can be defined as a transition on any dialog flow state in a skill.
  • B. The system error handler is called in case of an error when no error handling is defined on the current dialog flow state or as a default transition.
  • C. You can define a system-wide custom error handler at the digital assistant level.
  • D. An error handler can be defined globally for a skill using the defaultTransition error transition.
  • E. Implicit error handling is always performed even if there are other error handlers defined in the flow.

Answer: B,C,E

 

NEW QUESTION 38
You have been asked to make recommendations to a customer on the value of having a catalogue of test phrases that you can use for batch testing intents.
Which statement is the recommendation you would NOT make?

  • A. Batch testing allows you to have a baseline of phrases to test against, so you can demonstrate whether your skill is resolving intents more accurately over time.
  • B. Batch testing allows you to test every combination of conversation through your dialog flow.
  • C. Batch testing allows you to confirm that any changes you make to the intent utterances do not inadvertently change other intent resolutions.
  • D. Having a baseline test allows you to determine whether your intent resolution is still functioning within expected limits given any updates to your service.

Answer: D

 

NEW QUESTION 39
What happens after the skill output Welcome to our store's chat bot!'' in this dialog flow?

  • A. The skill goes to output2, outputs "You can ask me about what products we have in the store", and then returns control to the user.
  • B. The skill displays "Welcome to our store's chat bot!" again.
  • C. The skill returns control to the user. After the user enters text, it goes to the intent state.
  • D. The skill returns control to the user. After the user enters text, it goes to output2 and outputs "You can ask me about what products we have in the store."

Answer: B

 

NEW QUESTION 40
For live-agent transfer, you want the bot-user conversation history to become available to the human agent that the conversation is transferred to.
How do you make this conversation history available?

  • A. Set the convHistory property in the system.Agentinitiation component.
  • B. In the skill settings, either switch Enable Insights to On or switch Skill Conversation to On, depending on the Digital Assistant version.
  • C. This is controlled from Oracle Service Cloud and has to be turned on by setting a custom property.
  • D. Set a custom property on the Oracle Service Cloud instance that's accessed by Oracle Digital Assistant.

Answer: D

 

NEW QUESTION 41
What is the primary purpose of a user channel in Oracle Digital Assistant?

  • A. It provides a simple way to connect custom components with back-end systems.
  • B. It provides a generic mobile app or web app that you can directly embed in any messenger client.
  • C. It provides a simple way to expose PL/SQL packages as REST data services.
  • D. It provides the primary mechanism for embedding skills within a digital assistant.
  • E. It provides a simple way to connect and adapt messages between a skill or digital assistant and a messenger client.

Answer: C

 

NEW QUESTION 42
Consider the following excerpt from a dialog flow code where size is a context variable of value list entity type PizzaSize with values Small, Medium, and Large:

Which two events will occur when a user starts a new conversation with the sentence "Order a Large Pizza"?

  • A. The nlpResultVariable will populate the size value with Large.
  • B. The nlpResultVariable property is not supported by System.List, so no entity extraction will occur.
  • C. The Dialog Engine will transition to the PlaceOrder state.
  • D. The size variable has no value before getPizzaSize is called, so the user will be prompted to select from the list of values.

Answer: A,C

 

NEW QUESTION 43
You are writing a dialog flow and you are at the end of the conversation. For the final state, you are not sure whether to use a return transition or use a next transition that goes to the start of the dialog flow.
Which statement is true?

  • A. The next transition can only be used for forward navigation in the flow.
  • B. The next and return transitions are the same and you can use them interchangeably.
  • C. The return transition goes to the start of the dialog flow and resets all variables, whereas next simply navigates.
  • D. The next transition automatically clears variables on navigation, whereas return doesn't.

Answer: A

 

NEW QUESTION 44
......

Get Latest 1Z0-1071-20 Dumps Exam Questions in here: https://www.examtorrent.com/1Z0-1071-20-valid-vce-dumps.html