Huawei HCIA-HarmonyOS Application Developer (H14-211) Certification Sample Questions

Huawei H14-211 VCE, HCIA-HarmonyOS Application Developer Dumps, H14-211 PDF, H14-211 Dumps, HCIA-HarmonyOS Application Developer VCE, Huawei HCIA-HarmonyOS Application Developer PDFGetting knowledge of the Huawei H14-211 exam structure and question format is vital in preparing for the Huawei Certified ICT Associate-HarmonyOS Application Developer certification exam. Our Huawei HCIA-HarmonyOS Application Developer sample questions offer you information regarding the question types and level of difficulty you will face in the real exam. The benefit of using these Huawei H14-211 sample questions is that you will get to check your preparation level or enhance your knowledge by learning the unknown questions. You will also get a clear idea of the exam environment and exam pattern you will face in the actual exam with the Huawei Certified ICT Associate-HarmonyOS Application Developer Sample Practice Test. Therefore, solve the Huawei HCIA-HarmonyOS Application Developer sample questions to stay one step forward in grabbing the Huawei Certified ICT Associate-HarmonyOS Application Developer credential.

These Huawei H14-211 sample questions are simple and basic questions similar to the actual Huawei HCIA-HarmonyOS Application Developer questions. If you want to evaluate your preparation level, we suggest taking our Huawei Certified ICT Associate-HarmonyOS Application Developer Premium Practice Test. You might face difficulties while solving the real-exam-like questions. But, you can work hard and build your confidence on the syllabus topics through unlimited practice attempts.

Huawei H14-211 Sample Questions:

01. A user starts a video call in an app on a phone, then wants the call to move to the living-room smart screen, which has its own camera and microphone. After the move, the phone is taken to another room to charge, and the call must keep running without it.
Which HarmonyOS distributed capability meets this requirement?
a) Distributed task scheduling, which migrates the running call so that it continues on the smart screen
b) Distributed device virtualization, which lets the phone use the screen's camera and microphone as its own
c) Distributed data management, which keeps the call's data in sync on both devices at the same time
d) The distributed soft bus, which discovers and connects the devices and transmits data between them
 
02. NoteAbility's onBackground() writes the user's draft to Preferences and calls flush(), and its onCreate() restores any saved draft. The module's AbilityStage logs a message in its onCreate(). The user types a draft and goes to the home screen. While the app is in the background, the system reclaims its process. Later, the user reopens the app from the recent-tasks list.
Which statements are true? (Choose two.)
a) Only onForeground() runs on the return, because the user came back through the recent-tasks list
b) The draft was saved in onDestroy(), which the system always runs before it reclaims a process
c) AbilityStage.onCreate() runs again and logs its message, because the module is loaded anew in a new process
d) The old instance receives the return through onNewWant() and shows the draft that it still holds
e) A new instance is created on the return, and its onCreate() restores the saved draft
 
03. A smart-lock vendor builds on HarmonyOS. Its security review notes that the microkernel is formally verified, so the kernel is mathematically proven to behave as specified.
Auditors then add a requirement: the code that compares an entered PIN with the stored one must stay protected even if software in the normal system environment, including a privileged system service, is compromised.
Which assessment is correct?
a) Nothing more is needed, as the formally verified microkernel already shields the PIN check from any compromised service
b) A trusted execution environment is still needed, as kernel verification leaves the PIN check in the normal environment
c) The PIN check needs ahead-of-time compilation by the Ark compiler, so that compromised software cannot read it
d) The PIN check needs foreground priority from the deterministic latency engine, so that no other code can interrupt it
 
04. A list page looks correct in the DevEco Studio Previewer, but on a connected phone it stutters whenever the user scrolls it. The developer must find out which function uses the most CPU time during scrolling.
Which approach should the developer use?
a) Keep checking the page in the Previewer, which renders it in real time as the code is edited and so shows where the scroll slows down
b) Set a breakpoint in each function and step through one scroll on the phone, timing how long each step takes
c) Run the app on the phone and record the scroll with the DevEco Studio profiler, which shows where CPU time goes
d) Rebuild the HAP with Hvigor and read the build log, which lists how long each function runs during scrolling
 
05. A photo app applies a filter whenever the user taps a photo. Each filter run is CPU-heavy but short, the user may tap many photos quickly, and nothing needs to keep running between taps. The UI must stay responsive.
Which approach fits best?
a) Run each filter in an async function with await, so the work leaves the main thread
b) Create a Worker for each tap and let it set the Image source when it finishes
c) Start one Worker per photo when the page opens, and terminate each of them when the page closes
d) Send each filter run to TaskPool and show its result on the main thread when it completes
 
06. An app needs two permissions. ohos.permission.INTERNET is granted at installation once it is declared. ohos.permission.APPROXIMATELY_LOCATION must also be approved by the user in a dialog at run time.
The developer declared both in requestPermissions of AppScope/app.json5, and the app shows the approval dialog for the location permission when the map page opens. Neither permission is available to the app.
Which change is needed?
a) Keep the declarations in app.json5, and also show the run-time dialog for ohos.permission.INTERNET
b) Move only the location declaration into module.json5, since ohos.permission.INTERNET needs no declaration
c) Move both declarations into requestPermissions of the module's module.json5, and keep the run-time dialog for location
d) Move both declarations into module.json5, and drop the run-time dialog, since declared permissions are granted at installation
 
07. A gallery app must send 40 photo files chosen by the user to the app's server. The transfer must run as a managed task whose progress the app can track, and it must not start when the device has no network connection.
Which two choices should the developer make? (Choose two.)
a) @ohos.request, creating a download task that the server uses to collect the files
b) @ohos.net.connection, to check the current network status before the transfer starts
c) @ohos.net.http, sending each photo's file URI as a string in extraData
d) @ohos.request, creating an upload task for the 40 photo files
e) @ohos.net.http, whose createHttp() call fails when there is no network
 
08. A UIAbility that uses the singleton launch type is on screen. The user taps Exit, which calls terminateSelf(), and then taps the app icon.
True or false: although the launch type is singleton, the icon tap creates a new instance, so onCreate() and onWindowStageCreate() run again before onForeground().
a) True
b) False
 
09. An offline dictionary app downloads about 50,000 entries once and keeps them only on this device. Each entry is a word and its definition, and the app always looks entries up by the exact word; there are no other query conditions and no relations between entries.
The team wants no table schema or SQL to maintain, and the app must not hold the whole dictionary in memory.
Which storage should the developer choose?
a) Preferences, with one key per word, calling flush() once after the download
b) An RDB store with a WORDS table, each lookup built with RdbPredicates on the word column
c) AppStorage, filled with the entries each time the app starts, and read through @StorageProp
d) A KV store created through distributedKVStore, storing every word as a key with its definition as the value
 
10. An app keeps fontSize in AppStorage. The Settings page changes it, and every page must follow the new value. A Preview page lets the user try other sizes with a slider; those trial values must stay on the Preview page, yet Preview must still follow any later change made in Settings.
How should the Preview page bind fontSize?
a) With @StorageLink('fontSize'), so that slider edits and later AppStorage changes are both reflected
b) With @StorageProp('fontSize'), so slider edits stay local while AppStorage changes still arrive
c) With @LocalStorageProp('fontSize'), so slider edits stay inside the page's LocalStorage
d) With a @State member set once from AppStorage when the page is created

Answers:

Question: 01
Answer: a
Question: 02
Answer: c, e
Question: 03
Answer: b
Question: 04
Answer: c
Question: 05
Answer: d
Question: 06
Answer: c
Question: 07
Answer: b, d
Question: 08
Answer: a
Question: 09
Answer: d
Question: 10
Answer: b

Note: For any error in Huawei Certified ICT Associate-HarmonyOS Application Developer (H14-211) certification exam sample questions, please update us by writing an email on feedback@certfun.com.

Rating: 4.8 / 5 (111 votes)