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

Questions 61

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

Options:
A.

Jump to another page through a hyperlink

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.

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

D.

Start an AbilitySlice by navigating

Huawei H14-231_V1.0 Premium Access
Questions 62

A developer has developed an Image component and written the following code, which of the following descriptions of the component is correct?

Options:
A.

The Aplant image is scaled to 0.5

B.

Thex-axis and y-axis of the B plant image are scaled to 0.5 and the effect is cropped in half

C.

Thex and y axes of the C plant image are scaled to 0.5 and the transparency is 0.5

D.

The Dplant image is cropped in half

Questions 63

Which of the following is the callback behavior of the Page Ability lifecycle that can destroy the page?

Options:
A.

Page is no longer visible to the user, and the system will call onBackground() to notify the developer to release the corresponding resources

B.

triggers onStop() to notify the user to release system resources

C.

takes the Page out of focus and calls onInactive().

D.

Trigger onDestroy() to release system resources

Questions 64

Which of the following is NOT part of the software exposure capabilities provided by HarmonyOS Connect?

Options:
A.

chip

B.

Cloud services

C.

Huawei HarmonyoS operating system

D.

Device Partner Platform

Questions 65

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

Options:
A.

For sensitive permissions that may be involved in the operation of the application, the authorization method is system authorization (system_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.

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

D.

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

Questions 66

A developer now needs to make a motion track recording application, which can report the user's location information in real time. Which of the following is correct?

Options:
A.

Use RequestParam.SCENE_TRAJECTORY_TRACKINGsettings to locate the scene

B.

Apply for the ohos.permission.LOCATION permission only in config.json

C.

dynamically requests user authorization only in the codeohos.permission.LOCATION

D.

Use RequestParam.SCENE_NO_POWER settings to locate the scene

Questions 67

When a developer is developing a JavaSriptUI page of a shopping software,he needs to use the list component to display the product information, and which method of the list can be used to scroll to the specified item?

Options:
A.

scrollstart()

B.

scrollend()

C.

scrollto()

D.

scrollby()

Questions 68

HarmonyOSprovides developers with different abilities according to different application scenarios, for example, if a developer plans to develop a background music playback function, which of the following is correct about the configuration of the ability in config.json?

Options:
A.

“type: “service

B.

“type: “page

C.

“type: “ability

D.

“type: “data

Questions 69

The engineer fails to access the network through the get request, and the prompt 'Attempt to invoke virtual method' is displayed, which of the following permissions should be configured in config.json?

Options:
A.

harmonyos. permission. INTERNET

B.

harmonyos. permission.ANSWER:

C.

harmonyos. permission. REQUEST

D.

harmonyos. permission. ACCESS_NETTORKSTATE

Questions 70

When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?

Options:
A.

Recorder

B.

Coder

C.

Extractor

D.

Player

Questions 71

TaskDispatcher is the basic interface for Ability to distribute tasks, which hides the implementation details of the thread where the task is located. To ensure that the application is more responsive, we respond to the priority of the design task, which of the following is not the priority of the task?

Options:
A.

MIDDLE

B.

HIGH

C.

DEFAULT

D.

LOW

Questions 72

When the user clicks on a song from the music list page and jumps to the playback interface of the song, the principle is that the page route routes to the destination page according to which of the following?

Options:
A.

router.push

B.

router.back

C.

uri

D.

intent

Questions 73

The developer uses device A (local device) to control device B (remote device) to open the album, which distributed task scheduling capability is used in this scenario?

Options:
A.

Enable remote FA (Feature Ability).

B.

Connect to a remote PA (Particle Ability).

C.

Start the remote PA (Particle Ability).

D.

Particle Ability (PA)

Questions 74

If a developer needs to add the Banner function to a page, which of the following components is most suitable for implementing the function?

Options:
A.

ScrollView

B.

PageSlider

C.

Text

D.

ListContainer

Questions 75

In the Page Ability lifecycle of HarmonyOS, when the system creates a Page instance for the first time, which of the following callback methods will be triggered first?

Options:
A.

onStart()

B.

onActive()

C.

onInactive()

D.

onStop()