ExamGecko
Home Home / Huawei / H14-231_V1.0

Huawei H14-231_V1.0 Practice Test - Questions Answers, Page 48

Question list
Search
Search

List of questions

Search

Related questions











An engineer wrote the following code, which items are correct in the description of the following code?

@Entity(tableName='user',ignoredColumns={'ignoredColumn1','ignoredColumn2'},indices ={@Index(value ={'firstName','lastName'),name='name_index',unique =true)})

A.
'name_index' is the composite index name
A.
'name_index' is the composite index name
Answers
B.
index values are not unique
B.
index values are not unique
Answers
C.
'ignoredColumns' indicates that the field does not need to be added to the properties of the 'user' table
C.
'ignoredColumns' indicates that the field does not need to be added to the properties of the 'user' table
Answers
D.
The table is named 'user'.
D.
The table is named 'user'.
Answers
Suggested answer: A, C, D

A developer wants to use the list component of the JavaScript UI framework to display a table.

<list class='todo-wraper'

scrollpage='true'

scrollbar='on'

shapemode='round'

scrolleffect='no'>

<list-item for='{{todolist}}'class='todo-item'>

<text class='todo-title'>{{Sitem.title}}</text>

<text class='todo-title'>{{Sitem.date}}</text>

</list-item>

</list>

A.
slides out of the viewport with the non-list part of the page at the top of the list
A.
slides out of the viewport with the non-list part of the page at the top of the list
Answers
B.
Displayed when the inverted edge slider is touched, disappears after 2 seconds
B.
Displayed when the inverted edge slider is touched, disappears after 2 seconds
Answers
C.
The side slider is circular
C.
The side slider is circular
Answers
D.
Swiping to the edge has no effect
D.
Swiping to the edge has no effect
Answers
Suggested answer: A, C, D

HarmonyOS supports on-demand elastic deployment of a variety of terminal devices.

A.
supports the configuration of the feature set within the component
A.
supports the configuration of the feature set within the component
Answers
B.
does not support the association of dependencies between components
B.
does not support the association of dependencies between components
Answers
C.
Support the on-demand selection of each component
C.
Support the on-demand selection of each component
Answers
D.
Clipping of functions within the component is not supported
D.
Clipping of functions within the component is not supported
Answers
Suggested answer: A, C

When developing a HarmonyOS application, a developer receives the following product request: If a user logs in to the same HarmonyOS account on device A and device B, the user can log in to the app on device A and synchronize the application account authentication information to device B as needed. After the account authentication information is synchronized, the user can open the application on device B and log in directly without entering the application account authentication information again. Which of the following descriptions of this scene is correct?

A.
The developer can do this with the help of DVID, as the application can access and manage distributed devices based on the DVID
A.
The developer can do this with the help of DVID, as the application can access and manage distributed devices based on the DVID
Answers
B.
The developer can use the UUID to do this, because the app can uniquely identify the same device with the UUID during its lifetime
B.
The developer can use the UUID to do this, because the app can uniquely identify the same device with the UUID during its lifetime
Answers
C.
If the developer uses the UUID to achieve the above requirements, the UUID flag will still exist after the application is uninstalled
C.
If the developer uses the UUID to achieve the above requirements, the UUID flag will still exist after the application is uninstalled
Answers
D.
If the developer uses the DVID to achieve the above functions, the DVID is strongly associated with the HarmonyOS account and application information, so it can prevent other applications from accessing the current application data
D.
If the developer uses the DVID to achieve the above functions, the DVID is strongly associated with the HarmonyOS account and application information, so it can prevent other applications from accessing the current application data
Answers
Suggested answer: B, D

A developer needs to use the emulator in DevEco Studio, click to log in to the emulator and enter your HUAWEI ID, and the browser will directly jump to the real-name authentication interface. What are the reasons for this problem?

A.
has just completed real-name authentication, but the authentication has not yet taken effect
A.
has just completed real-name authentication, but the authentication has not yet taken effect
Answers
B.
Account is not registered
B.
Account is not registered
Answers
C.
uses the Chrome browser
C.
uses the Chrome browser
Answers
D.
The HUAWEI ID is not verified
D.
The HUAWEI ID is not verified
Answers
Suggested answer: A, D

Which of the following subsystem sets are included in the basic capability subsystem of the HarmonyOS system architecture?

A.
Distributed task scheduling
A.
Distributed task scheduling
Answers
B.
Distributed data management
B.
Distributed data management
Answers
C.
Media Subsystem
C.
Media Subsystem
Answers
D.
User Program Framework
D.
User Program Framework
Answers
Suggested answer: A, B, D

When testing the Bluetooth Low Energy feature of HarmonyOS, a developer needs to make the central device perform Bluetooth scanning. Which of the following descriptions of the developer's actions are correct?

A.
Get scan filter, if the filter is empty, it is not used to scan without filter
A.
Get scan filter, if the filter is empty, it is not used to scan without filter
Answers
B.
calls startScan() to start scanning the Bluetooth device
B.
calls startScan() to start scanning the Bluetooth device
Answers
C.
Before performing Bluetooth scanning, it is necessary to inherit the advertiseCallback class to implement startResultEvent Callback, which is used to receive scan results
C.
Before performing Bluetooth scanning, it is necessary to inherit the advertiseCallback class to implement startResultEvent Callback, which is used to receive scan results
Answers
D.
Call the BleCentralManager (BleCentralManagerCal1lback callback) API to obtain the device management object
D.
Call the BleCentralManager (BleCentralManagerCal1lback callback) API to obtain the device management object
Answers
Suggested answer: A, C, D

When an intent is used to initiate a request, a developer designs to open a link through a browser, but does not care which browser application the user ultimately chooses.

A.
Action
A.
Action
Answers
B.
AbilityName
B.
AbilityName
Answers
C.
Entity
C.
Entity
Answers
D.
BundleName
D.
BundleName
Answers
Suggested answer: A, D

HarmonyOS provides developers with a HiLog logging system, which of the following log levels are defined in HiLog?

A.
DEBUG
A.
DEBUG
Answers
B.
INFO
B.
INFO
Answers
C.
WARN
C.
WARN
Answers
D.
FATAL
D.
FATAL
Answers
Suggested answer: A, B, C, D

Which of the following functions does the HarmonyOS network management module provide?

A.
Data connection management
A.
Data connection management
Answers
B.
Data network management
B.
Data network management
Answers
C.
Traffic statistics
C.
Traffic statistics
Answers
D.
Create a local socket
D.
Create a local socket
Answers
Suggested answer: A, B, C, D
Total 705 questions
Go to page: of 71