Oracle Cloud Infrastructure 2024 Digital Assistant Professional (1z0-1071-24) Free Questions - Part 3
Question No : 31) When you configure an application in Oracle Identity Cloud Service to be consumed by Oracle Digital Assistant for the system.OAuth2AccountLink component, why do you need to have the Refresh Token grant selected?
A. The RefreshToken grant ensures that users will never have to sign in to the skill again after their initial login.
B. You need a refresh token to force a successful logout of the logged in user.
C. The RefreshToken grant ensures that the System.OAuth2Accountlink component can refresh an expired access token automatically because the access token has a much shorter lifespan than the refresh token.
D. The RefreshToken grant ensures that a fresh access token is retrieved even if a user's password in Oracle Identity Cloud Service has changed, thus ensuring the user uninterrupted access.
Question No : 32) Select the FALSE statement regarding Oracle's recommendation for defining your bot’s personality and conversational design.
A. You should hide from users the fact that they are communicating with a bot and give them the impression that it's a human they are interacting with.
B. You should consider naming your bot and using an appropriate avatar.
C. Your bot should have a persona that matches that of your target audience.
D. Words carry emotions and you should carefully consider verbiage and tone in your dialog responses.
Question No : 33) Which two features of Oracle Digital Assistant should you use to allow a skill to specifically classify the user message "What's my balance in savings?" and to identify the type of account?
A. an entity that defines account types (with values such as "checking" or "savings")
B. an intent that is been trained with utterances such as "check balance", "What is my current balance?", and "How much money do I have?"
C. an input form rendered by a webview that is hosted within a Digital Assistant
D. dialog flows with a system.Text component to read the user input
E. a resource bundle populated with phrases such as "check balance", "What is my current balance?", and "How much money do I have?"
Question No : 34) 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 are turn transition or use a next transition that goes to the start of the dialog flow. Which statement is true?
A. The next and return transitions are the same and you can use them interchangeably.
B. The return transition goes to the start of the dialog flow and resets all variables, whereas next simply navigates.
C. The next transition automatically clears variables on navigation, whereas return doesn't.
D. The next transition can only be used for forward navigation in the flow.
Question No : 35) What happens if there is a system error and the state does not have an error action?
A. The skill transitions to the state that is defined by the defaultTransitions error action. If there isn't one, then it outputs the Unexpected Error Prompt value.
B. The skill transitions to the state that is defined by the next action. If there isn't one, then it transition to the defaultTransitions error action.
C. The skill transitions to the state that is defined by the next action.. If there isn't one, then it transitions to the next state in the dialog flow.
D. The skill outputs the Unexpected Error Prompt value and then transitions to the state that is defined by the defaultTransitions error action. If there isn't one, then it ends the conversation.
Question No : 36) How do you declare a context variable for an entity?
A. Set the variable type to "nlpresult".
B. Set the variable type to the same name as the entity.
C. Set the variable typeto "entity".
D. Set the variable type to "map" and reference the value by the entity name.
Question No : 37) 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. 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.
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. 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.
D. Add StationEntity to the Routelnfolntent intent and then update the training data with phrases beginning with "from".
Question No : 38) A user is in the middle of a conversation flow with a digital assistant but then triggers the Exit system intent by saying "get me out of here". Which statement is true?
A. Depending on digital assistant routing parameters, the user will be prompted to confirm exiting from the current conversation.
B. The conversation can only be exited if the current context score is lower than the Exit Skill Confirmation digital assistant routing parameter.
C. The conversation can only be exited if the current context score is greater than the Exit Skill Confirmation digital assistant routing parameter.
D. Because the user didn't explicitly specify the invocation name of the skill when exiting, the user will always be prompted to confirmexiting the current conversation.
E. The conversation will resume at a state in the skill defined by a digital assistant parameter.
Question No : 39) You want your skill to output the size of the pizza that was ordered. Which FreeMarker operation must you use
A. "You ordered a${size[0]} pizza." 3)
B. "You ordered a ${size} pizza." :)
C. "You ordered a ${size.value} pizza.
D. "You ordered a ${size.string} pizza."
Question No : 40) What does this dialog flow do?
A. It logs how many times it takes each user to enter anutterance that resolves to an intent.
B. It loops back to the intent state until the user enters an utterance that resolves to an intent.
C. If the user does not enter an utterance that resolves to an intent within three tries, it transitions to a state to handle the user problem.
D. It stops the conversation if the user can't enter any utterances that resolve to an intent.
Question No : 41) 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 property is not supported by System.List, so no entity extraction will occur.
B. The Dialog Engine will transition to the PlaceOrder state.
C. The sizevariable has no value before getPizzaSize is called, so the user will be prompted to select from the list of values.
D. The nlpResultVariable will populate the size value with Large.
Question No : 42) Which two components can be used in combination with composite bag entities to auto generate skill responses and flows from definitions saved in bag items?
A. System.ResolveEntities
B. System.Text
C. System.MatchEntity
D. System.CommonResponse
E. System.List
Question No : 43) Which two statements about message translation in a skill are true?
A. If auto-translation is enabled and acomponent 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 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.
C. A missing system. DetectLanguage state in a dialog flow causes an exception for components that read their output message from bundle.
D. For the System.Translateinput component to work, it requires a previously executed system.DetectLanguage component state.
E. Enabling auto-translation in a dialog flow does not translate the user input message.
Question No : 44) 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. Implicit error handling is always performed even if there are other error handlers defined in the flow.
E. An error handler can be defined globally for a skill using thedefaultTransition error transition.
Question No : 45) You have a digital assistant with a pizza skill. While ordering a pizza, the user triggers the digital assistant's Help system intent byentering "help". What is the default functionality of the digital assistant assuming no help functionality has been implemented in the pizza skill?
A. The digital assistant displays a prompt and a card which can be configured to show examples of what the skill can do.
B. Nothing. You need to explicitly define a help state in the pizza skill.
C. The digital assistant displays the information contained in the Description field of the skill.
D. The digital assistant displays a dialog to confirm if the user wants help. If the user selects "yes", the skill returns to the system, intent and awaits user input.
E. The current conversation stops and the skill returns to the system, intent and awaits user input.
1z0-1071-24 Answers