[May-2024] Latest Huawei H14-231_V1.0 Certification Practice Test Questions [Q43-Q59]

Share

[May-2024] Latest Huawei H14-231_V1.0 Certification Practice Test Questions

Verified H14-231_V1.0 Dumps Q&As - 1 Year Free & Quickly Updates


The Huawei H14-231_V1.0 exam is intended for individuals who have experience in software development and are interested in developing applications for the HarmonyOS platform. H14-231_V1.0 exam covers a wide range of topics, including the development of UI layouts, the use of APIs, the creation of services, and the integration of third-party libraries. Candidates are also expected to have a good understanding of the development process and best practices, as well as the ability to troubleshoot and debug applications.

 

NEW QUESTION # 43
An engineer uses the WLAN P2P function, and the engineer can establish a P2P group.

  • A. False
  • B. True

Answer: B


NEW QUESTION # 44
When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a circular progress bar, which of the following components can help the developer complete this function?

  • A. RoundProgressBar
  • B. ProgressBar
  • C. ToastDialog
  • D. PageSlider

Answer: A


NEW QUESTION # 45
When using the capabilities or data of the corresponding service, you need to apply for the corresponding permissions, and the non-sensitive permissions need to be declared in which field of config.json?

  • A. canRequestPermissions
  • B. defPermissions
  • C. reqPermissions
  • D. requestPermissions

Answer: C


NEW QUESTION # 46
A developer designed an application, when the user receives a notification, if the user clicks on the notification, it will jump to a new page, and if the notification is not clicked, the new page will not be triggered.

  • A. NotificationSlot
  • B. triggerlntentAgent
  • C. setDescription
  • D. setName

Answer: C,D


NEW QUESTION # 47
Which of the following subsystem sets are included in the basic capability subsystem of the HarmonyOS system architecture?

  • A. Distributed data management
  • B. User Program Framework
  • C. Distributed task scheduling
  • D. Media Subsystem

Answer: A,B,C


NEW QUESTION # 48
Which of the following belong to the lifecycle callback method of Page Ability?

  • A. onCreate
  • B. onForeground
  • C. onActive
  • D. onStart

Answer: B,C,D


NEW QUESTION # 49
What lifecycle processes will be triggered when a developer creates a Page instance and lets the instance be displayed in the foreground?

  • A. onActive()onInactive()
  • B. onStart()onActive()onInactive()
  • C. onStart()onActive()
  • D. onBackground()onForeground()onStop()

Answer: C


NEW QUESTION # 50
If a developer wants to develop a Data Ability for the storage and management of application data, which of the following can help the developer realize the function ofinserting multiple pieces of data into the database at one time?

  • A. query (Uri uriString[ ]columns, DataAbilityPredicates predicates)
  • B. batchlnsert (Uri uri, ValuesBucket[]values)
  • C. delete(Uri uriDataAbilityPredicatespredicates)
  • D. insert (Uri uri, ValuesBucket value)

Answer: B


NEW QUESTION # 51
After a user migrates video from a mobile phone to a smart screen, which method will HarmonyOS call on the mobile phone to notify that the app migration process has ended?

  • A. onSaveData()
  • B. onCompleteContinuation()
  • C. onStartContinuation()
  • D. onRestoreData()

Answer: B


NEW QUESTION # 52
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. Developers can achieve the above requirements with the help of DVID, because the application can be accessed and managed according to the DVID Distributed equipment
  • B. The developer can do this with the help of UUIDs, as the app can be used during its lifetime The UUID uniquely identifies the same device
  • C. If the developer uses the DVIDto 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 borrows the UUID to achieve the above requirements, the UUID logo still exists after the application is uninstalled.

Answer: A,C


NEW QUESTION # 53
If a HarmonyOSapplication developer wants to achieve the following effects, which of the following combinations can achieve the effect?



A)

B)

C)

D)

  • A. Option D
  • B. Option A
  • C. Option C
  • D. Option B

Answer: A,B,C


NEW QUESTION # 54
In the HarmonyOS distributed application scenario of multi-device collaboration, device A is often required to start and stop the service of device B, for example, start and stop the music playback of device B on device A.
In the process of starting and stopping a Service, the following statement is correct

  • A. The onStart() methodwill only be called back once by the system duringthe lifetime of the Service
  • B. Every time you start the Service method, onCommand()will be called back by the system
  • C. Service-Once it is running, it can be easily stopped or destroyed by the system
  • D. can call the methodterminateAbility()or stopAbility()to stop the Service

Answer: A,B,D


NEW QUESTION # 55
If a developer wants to develop a file background download function, there needs to be a Page Ability to provide UI pages, and a Service Ability to provide the background file download function. Which of the following can invoke Service Ability in Page Ability?

  • A. connectServiceAbility(intent, connection)
  • B. connectAbility(intent, connection)
  • C. connectPageAbility(intent,connection)
  • D. onConnect

Answer: B


NEW QUESTION # 56
When a developer subscribes to a public event, he processes the public event in the onReceiveEvent() callback function and writes the following code.
EventRunner runner = EventRunner.create();
MyEventHandler myHandler = new
MyEventHandler(rurner);
@Override
public void onReceiveEvent(CommonEventData
commonEventData){
final AsyncCommonEventResult
result=goAsyncCommonEvent Runnable task = new
Runnable(){
@override
pub1ic void run {
......
The action to be performed, defined by the developer
result.finishCommonEvent();
}
};
myHandler.postTask(task);
}

  • A. sets the priority of ordered public events
  • B. The publisher has the permission to publish sticky public events
  • C. implements asynchronous operations, which solves the problem that time-consuming operations cannot be performed on onReceiveEvent
  • D. Gives subscribers permissions

Answer: C


NEW QUESTION # 57
A HarmonyOS developer uses syncDispatch to synchronously dispatch tasks when developing applications. In this scenario, syncDispatch dispatches the task and waits for the task to complete on the current thread, so the current thread is not blocked until it returns.

  • A. False
  • B. True

Answer: A


NEW QUESTION # 58
What features can developers use to implement collaborative identity authentication through HarmonyOS?

  • A. Multi-factor fusion authentication
  • B. Collaborative Mutual Aid Certification
  • C. Zero trust model
  • D. Secure boot

Answer: A,B,C


NEW QUESTION # 59
......

Latest 2024 Realistic Verified H14-231_V1.0 Dumps - 100% Free H14-231_V1.0 Exam Dumps: https://interfacett.braindumpquiz.com/H14-231_V1.0-exam-material.html