ExamGecko
Home Home / Nokia / 4A0-AI1

Nokia 4A0-AI1 Practice Test - Questions Answers, Page 8

Question list
Search
Search

Which character is used to separate the attributes of a Target with multiple attributes?

A.
-
A.
-
Answers
B.
/
B.
/
Answers
C.
#
C.
#
Answers
D.
\
D.
\
Answers
Suggested answer: B

Explanation:

The character used to separate the attributes of a Target with multiple attributes is /.

For example, a Target with multiple attributes could be: /network=IP/service=VPN.

Based on the exhibit, which attribute of the target-component determines the component name displayed in the UI?

A.
i18n-text
A.
i18n-text
Answers
B.
function-name
B.
function-name
Answers
C.
name
C.
name
Answers
D.
order
D.
order
Answers
Suggested answer: A

Explanation:

According to the NSP Network Services Platform Release 20.9 User Guide1, the attribute of the target-component that determines the component name displayed in the UI is i18n-text.

The i18n-text attribute specifies a key for a localized text string that is displayed as a label for this component in the UI. The actual text string is retrieved from a resource bundle file based on the user's locale.

For example, if i18n-text is "Port Id", then the UI will display "Port Id" as the component name.

Which of the following can only be viewed by making a RESTCONF call to query an existing intent?

A.
abstract YANG model
A.
abstract YANG model
Answers
B.
ibn:intent model
B.
ibn:intent model
Answers
C.
template-mappings
C.
template-mappings
Answers
D.
metadata
D.
metadata
Answers
Suggested answer: C

Explanation:

The template-mappings can only be viewed by making a RESTCONF call to query an existing intent.

The template-mappings are a set of key-value pairs that map the abstract YANG model attributes to concrete NFM-P templates and parameters. They are not exposed in the UI or the ibn:intent model, but they are stored internally in the NSP database.

For example, a template-mapping could be: /network=IP/service=VPN -> nsp-ip-vpn-template.

Whatare the main sections of an abstract YANG module file?

A.
Arguments and statements
A.
Arguments and statements
Answers
B.
Structures and statements
B.
Structures and statements
Answers
C.
Arguments and leaves
C.
Arguments and leaves
Answers
D.
Structure and arguments
D.
Structure and arguments
Answers
Suggested answer: A

Explanation:

The main sections of an abstract YANG module file are arguments and statements.

An argument is a string that provides additional information about a statement. A statement is a keyword followed by an argument and optionally enclosed by braces ({ }) containing substatements.

For example, an abstract YANG module file could start with:

module ibn-intent { namespace "urn:nokia.com:ibn:intent"; prefix ibn;

This defines the module name, namespace and prefix as arguments for the module, namespace and prefix statements respectively.

Which of the following files contains all the back end implementations required for Intent configurations to be performed?

A.
script-content.js
A.
script-content.js
Answers
B.
meta-info.json
B.
meta-info.json
Answers
C.
yang-patch.json
C.
yang-patch.json
Answers
D.
util.js
D.
util.js
Answers
Suggested answer: A

Explanation:

The script-content.js file contains all the back end implementations required for Intent configurations to be performed.

The script-content.js file is a JavaScript file that defines the logic for creating, updating, deleting and synchronizing intents. It also defines the validation rules and error handling mechanisms for intents.

For example, a script-content.js file could contain:

function createIntent(intent) { // logic for creating an intent }

function updateIntent(intent) { // logic for updating an intent }

Which of the following files contains helper functions that can be leveraged by the scripts of many different Intent types?

A.
Framework
A.
Framework
Answers
B.
Mapping script
B.
Mapping script
Answers
C.
Tern plate-mapping
C.
Tern plate-mapping
Answers
D.
Configuration template
D.
Configuration template
Answers
Suggested answer: A

Explanation:

The Framework file contains helper functions that can be leveraged by the scripts of many different

Intent types.

The Framework file is a JavaScript file that provides common utility functions for Intent operations. It is located in the /opt/nokia/nsp/intent/scripts directory on the NSP server. It can be imported by other script files using the require() function.

For example, a Framework file could contain:

function getNfmpTemplate(templateName) { // logic for getting an NFM-P template by name }

function getMdTemplate(templateName) { // logic for getting an MD template by name }

Which of the following is NOT a category of files found in the Intent-type resources directory?

A.
Framework files
A.
Framework files
Answers
B.
Configuration files
B.
Configuration files
Answers
C.
API services files
C.
API services files
Answers
D.
Template files
D.
Template files
Answers
Suggested answer: A

Explanation:

According to the NSP Intent Manager Application Help1, an intent type consists of four components:

general metadata, target, YANG model and script. The resources component is used to store files that are required by the script component1. Therefore, A. Framework files is NOT a category of files found in the intent-type resources directory.

An Intent Type has to be in which state for Intent Manager to provision a request?

A.
Phased-out
A.
Phased-out
Answers
B.
Draft
B.
Draft
Answers
C.
Released
C.
Released
Answers
D.
Draft or Released
D.
Draft or Released
Answers
Suggested answer: C

Explanation:

According to the NSP Intent Manager Application Help, an intent type has to be in Released state for

Intent Manager to provision a request. An intent type can be in Draft, Released or Phased-out state.

A Draft state means that the intent type is under development and cannot be used for provisioning. A Phased-out state means that the intent type is no longer supported and cannot be used for provisioning

What happens if you select "Modify" under "Behavior" in the WebUI and successfully modify anintent?

A.
The Intent is updated in the Intent Manager database and no other actions are performed.
A.
The Intent is updated in the Intent Manager database and no other actions are performed.
Answers
B.
The Intent is updated in the Intent Manager database and compared with the configuration on the target node.
B.
The Intent is updated in the Intent Manager database and compared with the configuration on the target node.
Answers
C.
The Intent is updated in the Intent Manager database and synchronized.
C.
The Intent is updated in the Intent Manager database and synchronized.
Answers
D.
The version number of the Intent is increased and multiple copies of the Intent are stored In theIntent Manager.
D.
The version number of the Intent is increased and multiple copies of the Intent are stored In theIntent Manager.
Answers
Suggested answer: B

Explanation:

According to the NSP Intent Manager Application Help12, if you select "Modify" under "Behavior" in the WebUI and successfully modify an intent, the intent is updated in the Intent Manager database and compared with the configuration on the target node. This will change the intended configuration for the audit and synchronize operations

Which of the following is the proper Postman syntax to access an Intent based off an Intent Type named port-ethernet-intent and with target comportment 10.10.10.1 and 1/1/2?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: C

Explanation:


Total 80 questions
Go to page: of 8