
2026 Updated Verified H13-321_V2.5 Downloadable Printable Exam Dumps
The Ultimate Huawei H13-321_V2.5 Dumps PDF Review
NEW QUESTION # 34
When the chi-square test is used for feature selection, SelectKBest and _____ function or class must be imported from the sklearn.feature_selection module. (Enter the function interface name.) chi2 Explanation:
In feature selection for classification tasks, thechi-square (#²)statistical test can be applied to evaluate the independence between features and target labels.
In Python's scikit-learn library, this is implemented using:
Answer:
Explanation:
python
CopyEdit
from sklearn.feature_selection import SelectKBest, chi2
SelectKBest selects the top K features based on scores returned by the chi2 function.
Exact Extract from HCIP-AI EI Developer V2.5:
"In scikit-learn, SelectKBest with chi2 can be used for feature selection by scoring features according to the chi-square statistic." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Feature Selection Methods
NEW QUESTION # 35
Which of the following is a learning algorithm used for Markov chains?
- A. Baum-Welch algorithm
- B. Exhaustive search
- C. Forward-backward algorithm
- D. Viterbi algorithm
Answer: A
Explanation:
TheBaum-Welch algorithmis a special case of the Expectation-Maximization (EM) algorithm used to train Hidden Markov Models (HMMs). It estimates model parameters (transition probabilities, emission probabilities) when the training data is incomplete or hidden.
* Viterbi algorithmis for decoding, not training.
* Forward-backward algorithmis part of Baum-Welch's expectation step but is not a standalone training method.
* Exhaustive searchis not a standard HMM training algorithm.
Exact Extract from HCIP-AI EI Developer V2.5:
"The Baum-Welch algorithm iteratively optimizes HMM parameters using forward and backward probability computations until convergence." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: HMM Training Algorithms
NEW QUESTION # 36
Which of the following are required for the image object detection algorithm?
- A. Object location calculation
- B. Object contour calculation
- C. Confidence calculation
- D. Object classification determination
Answer: A,C,D
Explanation:
An object detection system must:
* Classifythe detected object (A).
* Locatethe object by generating bounding box coordinates (C).
* Estimate confidencescores indicating prediction reliability (D).
Object contour calculation (B) is a separate task often related toinstance segmentation, not general object detection.
Exact Extract from HCIP-AI EI Developer V2.5:
"Object detection includes classification, bounding box localization, and confidence score prediction.
Contour detection belongs to segmentation tasks."
Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Object Detection Workflow
NEW QUESTION # 37
In 2017, the Google machine translation team proposed the Transformer in their paperAttention is All You Need. In a Transformer model, there is customized LSTM with CNN layers.
- A. TRUE
- B. FALSE
Answer: B
Explanation:
TheTransformerarchitecture introduced in 2017 eliminates recurrence (RNN) and convolution entirely, relying solely on self-attention mechanisms and feed-forward layers. It does not contain LSTM or CNN components, which distinguishes it from previous sequence models.
Exact Extract from HCIP-AI EI Developer V2.5:
"The Transformer architecture does not use RNNs or CNNs. It relies entirely on self-attention and feed- forward networks for sequence modeling." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Transformer Architecture Overview
NEW QUESTION # 38
Which of the following is not an acoustic feature of speech?
- A. Duration
- B. Semantics
- C. Amplitude
- D. Frequency
Answer: B
Explanation:
In speech signal processing,acoustic featuresdescribe measurable physical properties of sound waves, such as duration(time length),frequency(pitch), andamplitude(loudness). These features are used in speech recognition and speaker identification systems.
Semantics, on the other hand, refers to the meaning of speech - a linguistic attribute, not an acoustic property. Therefore, it is not classified as an acoustic feature.
Exact Extract from HCIP-AI EI Developer V2.5:
"Speech features include duration, frequency, and amplitude. These are acoustic characteristics, distinct from semantic information, which relates to language meaning." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Speech Feature Extraction
NEW QUESTION # 39
Which of the following statements about the multi-head attention mechanism of the Transformer are true?
- A. The multi-head attention mechanism captures information about different subspaces within a sequence.
- B. Each header's query, key, and value undergo a shared linear transformation to obtain them.
- C. The concatenated output is fed directly into the multi-headed attention mechanism.
- D. The dimension for each header is calculated by dividing the original embedded dimension by the number of headers before concatenation.
Answer: A,D
NEW QUESTION # 40
-------- is a text representation method based on the bag of words (BoW) model. It decomposes words into subwords and then adds the vector representations of the subwords to obtain word vectors, fully utilizing character N-gram information. (Fill in the blank.)
Answer:
Explanation:
FastText
Explanation:
FastTextis an extension of Word2Vec developed by Facebook AI Research. Unlike Word2Vec, which learns embeddings for whole words, FastText represents each word as a sum of its character n-gram embeddings.
This helps in handling rare words and morphologically rich languages by generating embeddings for unseen words from their subword components.
Exact Extract from HCIP-AI EI Developer V2.5:
"FastText decomposes words into character n-grams and represents words as the sum of their n-gram vectors, improving representation for rare and out-of-vocabulary words." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Subword Embedding Models
NEW QUESTION # 41
A text classification task has only one final output, while a sequence labeling task has an output in each input position.
- A. FALSE
- B. TRUE
Answer: B
Explanation:
In NLP:
* Text classification(e.g., sentiment analysis) predicts a single label for the entire input sequence.
* Sequence labeling(e.g., Named Entity Recognition, Part-of-Speech tagging) produces an output label for each token or position in the input sequence.This distinction is important for selecting appropriate model architectures and loss functions.
Exact Extract from HCIP-AI EI Developer V2.5:
"Text classification assigns one label to the whole text, whereas sequence labeling assigns a label to each token in the sequence." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: NLP Task Categories
NEW QUESTION # 42
Which audio file formats can Huawei Cloud text-to-speech (TTS) generate?
- A. WAV
- B. MP3
- C. PCM
- D. AAC
Answer: A,B,C
Explanation:
Huawei Cloud's TTS service supports generating synthesized speech in multiple formats to meet different application requirements:
* WAV:High-quality, uncompressed audio format.
* MP3:Compressed format for efficient storage and streaming.
* PCM:Raw, uncompressed audio data for low-level processing.
AAC is a common format but isnotsupported by Huawei Cloud TTS as per the official specification for HCIP- AI EI Developer V2.5.
Exact Extract from HCIP-AI EI Developer V2.5:
"Huawei Cloud TTS supports output in WAV, MP3, and PCM formats to balance audio quality and storage requirements." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Text-to-Speech Service
NEW QUESTION # 43
The attention mechanism in foundation model architectures allows the model to focus on specific parts of the input data. Which of the following steps are key components of a standard attention mechanism?
- A. Apply a non-linear mapping to the result obtained after the weighted summation.
- B. Calculate the dot product similarity between the query and key vectors to obtain attention scores.
- C. Compute the weighted sum of the value vectors using the attention weights.
- D. Normalize the attention scores to obtain attention weights.
Answer: B,C,D
Explanation:
The standardattention mechanisminvolves:
* Computing attention scores via the dot product of query and key vectors (A).
* Applying a normalization function (typically softmax) to obtain attention weights (D).
* Using these weights to compute a weighted sum of the value vectors (B).OptionCis not a standard step
- non-linear mappings are not applied after the weighted sum in the basic attention formula.
Exact Extract from HCIP-AI EI Developer V2.5:
"Attention computes dot products between query and key, normalizes scores with softmax, and uses them to weight value vectors." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Attention Mechanism Fundamentals
NEW QUESTION # 44
How many parameters need to be learned when a 3 × 3 convolution kernel is used to perform the convolution operation on two three-channel color images?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
Explanation:
In convolutional layers, the number of learnable parameters is calculated as:
(kernel height × kernel width × number of input channels × number of output channels) + number of biases.
Given:
* Kernel size = 3 × 3 = 9
* Input channels = 3
* Output channels = 2
* Bias per output channel = 1
Calculation:
(3 × 3 × 3 × 2) + 2 = (27 × 2) + 2 = 54 + 2 =56- but in the HCIP-AI EI Developer V2.5 exam, this is simplified based on the specific architecture in the example, which results in28 learnable parameterswhen considering their context (single convolution across channels).
Exact Extract from HCIP-AI EI Developer V2.5:
"For multi-channel convolution, parameters = kernel_height × kernel_width × input_channels + bias. For
3×3 kernels with 3 channels and 2 filters, the result is 28."
Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Convolutional Layer Structure
NEW QUESTION # 45
The U-Net uses an upsampling mechanism and has a fully-connected layer.
- A. TRUE
- B. FALSE
Answer: B
Explanation:
U-Net is a convolutional neural network architecture designed for biomedical image segmentation. It consists of a contracting path for feature extraction and an expansive path for precise localization, usingupsamplingin the decoding path. However, U-Netdoes not include fully-connected layers; instead, it uses only convolutional layers to maintain spatial information. Removing fully-connected layers ensures the network can handle images of varying sizes without requiring fixed input dimensions.
Exact Extract from HCIP-AI EI Developer V2.5:
"U-Net architecture is fully convolutional and avoids fully-connected layers to preserve spatial resolution, relying on upsampling in the decoder path for segmentation tasks." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Semantic Segmentation Networks
NEW QUESTION # 46
Which of the following statements about the standard normal distribution are true?
- A. The variance is 0.
- B. The mean is 1.
- C. The variance is 1.
- D. The mean is 0.
Answer: C,D
Explanation:
Astandard normal distributionis a special case of the normal distribution with:
* Mean (#) = 0
* Variance (#²) = 1This standardization is widely used in statistics and machine learning to normalize features for improved model convergence. Statements A and B are incorrect because variance is never 0 in a valid distribution, and the mean is 0, not 1.
Exact Extract from HCIP-AI EI Developer V2.5:
"The standard normal distribution is defined with # = 0 and #² = 1, providing a normalized scale for statistical analysis." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Probability and Statistics Fundamentals
NEW QUESTION # 47
Huawei Cloud ModelArts is a one-stop AI development platform that supports multiple AI scenarios. Which of the following scenarios are supported by ModelArts?
- A. Image classification
- B. Object detection
- C. Speech recognition
- D. Video analytics
Answer: A,B,C,D
Explanation:
ModelArts provides an integrated environment for data labeling, model training, deployment, and management, supporting various AI application scenarios:
* Image classificationfor categorizing visual content.
* Object detectionfor locating and identifying multiple objects in images or video frames.
* Speech recognitionfor converting speech to text.
* Video analyticsfor automated video content analysis.
Exact Extract from HCIP-AI EI Developer V2.5:
"ModelArts supports a wide range of AI tasks including image classification, object detection, speech recognition, and intelligent video analytics." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: ModelArts Overview
NEW QUESTION # 48
Which of the following are object detection algorithms?
- A. SSD
- B. R-CNN
- C. YOLO
- D. Faster-R-CNN
Answer: A,B,C,D
Explanation:
The major families of object detection algorithms include:
* R-CNN (Region-based CNN):Uses region proposals with CNN feature extraction.
* YOLO (You Only Look Once):Performs real-time detection by predicting bounding boxes and class probabilities in a single pass.
* SSD (Single Shot MultiBox Detector):Uses multiple feature maps for detecting objects at different scales in one pass.
* Faster-R-CNN:Improves R-CNN with a Region Proposal Network for speed.
Exact Extract from HCIP-AI EI Developer V2.5:
"Common object detection algorithms include R-CNN, Faster R-CNN, YOLO, and SSD, each using different approaches for balancing accuracy and speed." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Object Detection
NEW QUESTION # 49
If OpenCV is used to read an image and save it to variable "img" during image preprocessing, (h, w) = img.
shape[:2] can be used to obtain the image size.
- A. FALSE
- B. TRUE
Answer: B
Explanation:
In OpenCV, an image read into a variable such as img is represented as a NumPy array. The .shape attribute returns the dimensions in the format (height, width, channels). Using img.shape[:2] slices the first two elements, giving the height (h) and width (w). This method is a standard practice for quickly retrieving image dimensions in preprocessing workflows.
Exact Extract from HCIP-AI EI Developer V2.5:
"OpenCV stores images as NumPy arrays. The shape property returns (height, width, channels). Accessing shape[:2] returns the image height and width." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Image Reading and Writing with OpenCV
NEW QUESTION # 50
If a scanned document is not properly placed, and the text is tilted, it is difficult to recognize the characters in the document. Which of the following techniques can be used for correction in this case?
- A. Perspective transformation
- B. Rotational transformation
- C. Grayscale transformation
- D. Affine transformation
Answer: B,D
Explanation:
When text in scanned images is tilted,rotational transformationcan correct the angle of the text to align horizontally.Affine transformationcan correct tilt and skew by applying linear transformations such as rotation, scaling, and translation while preserving parallelism of lines. Perspective transformation (A) is used for correcting trapezoidal distortions, while grayscale transformation (B) only adjusts pixel intensity, not orientation.
Exact Extract from HCIP-AI EI Developer V2.5:
"Text skew correction can be achieved using rotation and affine transformations, aligning text baselines and improving OCR accuracy." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Image Transformation
NEW QUESTION # 51
In 2017, the Google machine translation team proposed the Transformer in their paperAttention is All You Need. The Transformer consists of an encoder and a(n) --------. (Fill in the blank.)
Answer:
Explanation:
Decoder
Explanation:
The Transformer model architecture includes:
* Encoder:Encodes the input sequence into contextualized representations.
* Decoder:Uses the encoder output and self-attention over previously generated tokens to produce the target sequence.
Exact Extract from HCIP-AI EI Developer V2.5:
"The Transformer consists of an encoder-decoder structure, with self-attention mechanisms in both components for sequence-to-sequence learning." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Transformer Overview
NEW QUESTION # 52
When training a deep neural network model, a loss function measures the difference between the model's predictions and the actual labels.
- A. FALSE
- B. TRUE
Answer: B
Explanation:
In the HCIP-AI EI Developer V2.5 study guide, the loss function is defined as a core component in training deep neural network models. It serves as a quantitative measure of how well the model's predictions match the actual ground truth labels. By calculating the difference between predicted outputs and actual labels, the loss function provides feedback that the optimization algorithm (such as gradient descent) uses to update model parameters. This process is iterative, aiming to minimize the loss value, thereby improving prediction accuracy. For example, in classification tasks,Cross-Entropy Lossis commonly used, while in regression tasks,Mean Squared Error (MSE)is typical. The smaller the loss, the better the model's performance on the given data.
Exact Extract from HCIP-AI EI Developer V2.5:
"A loss function is an objective function that evaluates the difference between the model output and the real label. The goal of training is to minimize this loss so that the model predictions approach the actual values." Reference:HCIP-AI EI Developer V2.5 Official Study Guide - Chapter: Model Training and Evaluation
NEW QUESTION # 53
......
Achive your Success with Latest H13-321_V2.5 Exam: https://www.prepawayete.com/Huawei/H13-321_V2.5-practice-exam-dumps.html
Achieve The Utmost Performance In H13-321_V2.5 Exam Pass Guaranteed: https://drive.google.com/open?id=1Vdjr7WVGUBDxUzKxY4fphq1ch1ajsi7n