Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Huawei H14-231_V1.0 - HCIP-HarmonyOS Application Developer V1.0

Page: 11 / 14
Total 695 questions

How to realize distributed communication betweentwo existing Harmony OS devices?

A.

Configure the ohos.permission.lNTERNEl permission in the configuration file

B.

Configure ohos.permission.DISTRIBUTED_DATASYNC permission in the configuration file and dynamically request this permission again

C.

Configure ohos.permission.DISTRIBUTED_DATASYNC permissions in the configuration file

D.

Configure the ohos.permission.IlNTERNET permission in the configuration file and dynamically request this permission again

If a HarmonyOS engineer is about to debug a HarmonyOS application on an emulator device, which of the following debugging processes is correct?

A.

Check the properties of the config.json file→set the installation method of the hap package→set the debugging code type→start debugging

B.

Set the installation mode of the HAP package→set the debugging code type→check the properties of the configjson file→start debugging

C.

Set the installation method of the HAP package→check the properties of the configjson file→set the debugging code type→start debugging

D.

Set the debuggingcode type→check the properties of the config.json file→set the installation method of the HAP package→start debugging

What is the process of cross-terminal migration from an application on HarmonyOS device A to the application on device B by calling the distributed task scheduling capability to continue sbility?

A.

Preparation for circulation

B.

Circulation

C.

End of circulation

D.

The circulation is complete

A HarmonyOSuser downloads and installs a new application, which has declared some non-sensitive permissions in the config.json file, and the application may involve some sensitive permissions during running. Which of the following is correct in this scenario?

A.

For the non-sensitive permissions declared by the app in the config.json file, the authorization method is user authorization (user_grant)

B.

For the non-sensitive permissions declared by the application in the config.json file, the application will be dynamically applied for during use

C.

For the sensitive permissions that may be involved in the running process of the application, the authorization method is system authorization (system_grant).

D.

Non-sensitive permissions declared by the app in the config.json file are automatically granted when the user installs the app

Which of the following does not belong to the system service layer in the HarmonyOS system architecture?

A.

Distributed data management

B.

Ability

C.

Distributed task scheduling

D.

Distributed soft bus

If a HarmonyOS developerhas developed multiple applications and ensured that the data between different applications cannot be accessed through the triplet of account, application, and database, which of the following services can the developer use to achieve this function?

A.

Distributed file services

B.

Distributed data services

C.

Data search services

D.

Data storage management

When the state data of @State modification is modified, the () method of the component will be triggered to update the UI interface

A.

build method

B.

onPageShow method

C.

aboutToAppear method

D.

onStart method

Where is the data of the preference placed after persistence?

A.

In memory

B.

database table

C.

file

D.

Cloud

In a live broadcast scenario, where the anchor uses an action camera as the live broadcast camera, what are the distributed capabilities of HarmonyOS used in this scenario?

A.

Distributed file services

B.

Virtualization of distributed devices

C.

Cloth data services

D.

Distributed soft bus

Which of the following modules needs to be imported to initiate a network data request?

A.

import http from '@ohos.net.http'

B.

import http from ' @ohos.net.https'

C.

import request from '@ohos.request'

D.

import request from '@ohos.net.request'

To test the HarmonyOS Bluetooth Low Energy function, a developer uses a central device to call the startScan() interface and scans for a peripheral device. In order for the central device to complete the data exchange with the peripherals, the developer implemented the following development steps.

A.

GATT connection is successful, and the peripheral device can call the write method to write the eigenvalue data to the central device

B.

Afterthe central device obtains the peripherals,it calls connect (boolean isAUtoConnect, BlePeripheraCallback callback) to establish a GATT connection with the peripherals

C.

After the C GATT connection is successful, the central device can call the discoverServices() interface to obtain various data supported by the peripheral equipment

D.

After the GATT connection is started, the developer needs to determine whether the GATT connection is successful based on the serviceDiscoveredEvent(int status) callback result

If a HarmonyOS engineer needs to apply for a digital certificate to complete the application release, what are the errors in the following descriptions of digital certificates?

A.

is issued by AppGalleryConnect

B.

contains the public key in the key pair

C.

Digital certificates are used to ensure the integrity of the application

D.

format is .csr

Regarding the container components Row and Column, the following statement is wrong.Themain axis of A Column container is vertical, and the cross axis is horizontal;

A.

The main axis of the row container is horizontal, and the cross axis is vertical.

B.

The main axis and the cross axis are always perpendicular to each other, and the direction of the Row and Column main axes is different.

C.

The alignment of the subcomponents of the C Column in the direction of the main axis is set using the justifyContent property, and its parameter type is FlexAlign.

D.

Thealignment of D Row's subcomponents in the direction of the cross axis is set using the alignltems property, which is of type HorizontalAlign.

Which of the following request methods is appropriate to submit form data to the server?

A.

RequestMethod.GET

B.

RequestMethod.POST

C.

RequestMethod.PUT

D.

RequestMethod.DELETE

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 account 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 UUIDs, because apps can use UUIDs to uniquely identify the same device during their lifetime

B.

If the developer borrows the UUID to achieve the above requirements, the UUID logo will still exist after the application is uninstalled.

C.

The developer can do this with the help of DVID, because the application can access and manage distributed devices based on the DVID

D.

If you use a DVID to achieve the above functions, the DVE is strongly associated with your HarmonyOS account and application information, so you can prevent other applications from accessing the current application data.