Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Huawei H14-231_V1.0 Practice Exam with Questions & Answers | Set: 7

Questions 91

The logs queried by a developer are as follows. HiLog.warn(LABEL, "Failed to visit %(private) s,reason:%(public}d.",url, exrno); What kind of level does the log belong to?

Options:
A.

WARN

B.

FalseCode()

C.

INFO

D.

DEBUG

Huawei H14-231_V1.0 Premium Access
Questions 92

When a developer calls HarmonyOS Abi1ity Resources (HAR) in an application module, he or she needs to merge the config.json file of HAP and the config.json file of HAR into a single config.json file when compiling and building a HarmonyS Ability Package (HAP). During the merging process, under what circumstances will the values of tags conflict?

Options:
A.

HAP has no label value; The HAR has a tag value, and the value can be B

B.

HAP has a label value, and the value is A; HAR has no label value

C.

NeitherHAP nor HAR had labeled values

D.

HAP has a label value, and the value is A. The HAR has a tag value, and the value can be B

Questions 93

The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

Options:
A.

Data and Computing Center

B.

Decision-making centre

C.

Task Bus

D.

Interconnection Management Center

Questions 94

The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods is used to recover the data?

Options:
A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData ()

D.

onCompleteContinuation ()

Questions 95

In order to test the distributed file service functions of application A and application B, the developer installs application A and application B on both device 1 and device 2. During the test, application A on device 1 creates a distributed file X, and application B on device 2 creates a distributed file Y. Which of the following descriptions of this scenario is wrong?

Options:
A.

If Device 1 and Device 2 are logged in to different HarmonyoS accounts, distributed file sharing cannot be implemented

B.

If device 1 runs out of power and causes the device to go offline, distributed file X cannot be accessed

C.

With distributed file services, application A on device 1 is able to read and write file Y on device 2

D.

ApplicationA and Application B need to apply for ohos.permission.DISTRIBUTED_DATASYNC permissions to use the full functionality of the distributed file service

Questions 96

It is necessary to apply for the permission of certain operation sensitive capabilities. Which of the following is NOT considered a sensitive capability?

Options:
A.

camera

B.

Make a call

C.

Photo

D.

Microphone

Questions 97

What is the "1" in HarmonyOS's "1+8+N" strategy?

Options:
A.

mobile phone

B.

Tablet

C.

Watch

D.

Smart screen

Questions 98

When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?

Options:
A.

continueAbility ()

B.

continueAbilityReversibly ()

C.

startAbilityForResult ()

D.

startAbility ()

Questions 99

How to realize distributed communication betweentwo existing Harmony OS devices?

Options:
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

Questions 100

In HarmonyOS, which of the following scenarios is the application responsible for instantiation?

Options:
A.

Start an AbilitySlice by navigating

B.

reads a novel through a web page and accidentally clicks on an advertisement, which jumps directly to the app store to request the download of a certain game

C.

Jump to another page via a hyperlink

D.

An app page has messages, contacts, settings, etc., and switch between them

Questions 101

Inwhat form will the application package of Harmony OS be released and put on the shelves?

Options:
A.

HAR(HarmonyOS Ability Resources)

B.

APP Pack (Application Package)

C.

HAP (HarmonyOS Ability Package)

D.

pack.info

Questions 102

A developer wants to implement a registration and login function, and there are two pages, namely registration page A and login page B. When jumping from registration page A to login page B, which of the following is correct about the lifecycle of the two pages?

Options:
A.

A(INACTIVE)→B(INITIAL)→B(ACTIVE)→A(BACKGROUND)

B.

B(INITIAL)→B(ACTIVE)→A(INITIAL)→A(BACKGROUND)

C.

A(INACTIVE)→A(BACKGROUND)→B(INITIAL)→B(ACTIVE)

D.

A(INACTIVE)→B(INITIAL)→A(BACKGROUIND)→B(ACTIVE)

Questions 103

A developer obtains a log content: static final HiLogLabel LABEL = new HiLogLabe1 (HiLog.LOG_APP,0x00201,"MY_TAG");

Which of the following information can't be obtained?

Options:
A.

log level

B.

The business area of the log

C.

Log ID

D.

Log type

Questions 104

Which of the following statements is correct?

Options:
A.

preference follows the ACID characteristic

B.

Preference is to access data in the form of Key-Value

C.

The number of data stored in the preference is recommended not to exceed 10,000

D.

The key of the preference is of type String

Questions 105

A Page Ability (hereinafter referred to as "Page") may consist of one or more AbilitySlice, which refers to the sum of a single page of an application and its control logic.

Options:
A.

True

B.

False