PASSPOINT PRO
CS 7643 Deep Learning
Practice Exam - Version A
100 questions | Immediate answers | Detailed explanations
100 16 A-D
QUESTIONS TOPIC MODULES ANSWER FORMAT
A concept-first workbook with immediate answers and teaching rationales
,PASSPOINT PRO / CS 7643 DEEP LEARNING
Practice Exam - Version A
100 original A-D practice questions. Each answer and rationale follows the question. Topics include theory, computation,
architecture, debugging and research design.
001. What does softmax produce when applied over attention scores?
A. A matrix of integer token IDs
B. Nonnegative weights that sum to one over allowed keys
C. Unbounded negative weights
D. The model's exact test accuracy
Answer: B - Nonnegative weights that sum to one over allowed keys
Explanation: Softmax normalizes compatibility scores into an attention distribution. Inspect the attention-score shape and
where masking enters softmax. Masking and score normalization together define the information an attention layer can
access.
002. Why report multiple random seeds for stochastic deep-learning experiments?
A. To show variability and reduce reliance on a lucky run
B. To guarantee models become deterministic
C. To eliminate the need for baselines
D. To convert accuracy into a loss
Answer: A - To show variability and reduce reliance on a lucky run
Explanation: Different random seeds can change initialization, batching and observed outcomes. Compare multiple seeds,
baselines and reward assumptions rather than one run. Reliable conclusions come from controlled comparisons rather than
a single high reward or score.
003. What is teacher forcing during autoregressive sequence training?
A. Remove the output projection
B. Freeze all decoder parameters
C. Provide ground-truth prior tokens as decoder inputs
D. Use future test labels at inference
Answer: C - Provide ground-truth prior tokens as decoder inputs
Explanation: Teacher forcing conditions the next-step prediction on observed preceding tokens during training. Check
ordering, padding masks and hidden-state transitions step by step. The ordering of information through time determines
what the model is allowed to use.
004. What is the role of token embeddings?
A. Shuffle target classes at test time
B. Determine the optimizer's step count
C. Replace a vocabulary with image pixels only
D. Map discrete token IDs to continuous feature vectors
Answer: D - Map discrete token IDs to continuous feature vectors
Explanation: An embedding table assigns learned dense vectors to discrete tokens. Check the sequence mask and the
feature dimension through every transformer block. A model trained with a causal mask cannot legitimately use unseen
future tokens at inference.
Original practice and instructional resources 2
,PASSPOINT PRO / CS 7643 DEEP LEARNING
005. What does the evidence lower bound lower-bound?
A. The number of trainable model parameters
B. Log marginal likelihood of the observed data
C. The learning rate at convergence
D. Training-set accuracy
Answer: B - Log marginal likelihood of the observed data
Explanation: The ELBO is a tractable lower bound on log p(x) based on a variational posterior. Separate reconstruction
likelihood, KL regularization and latent sampling. The balance between fit and latent regularization controls whether z
carries useful information.
006. What is the main benefit of multi-head attention?
A. Guarantee zero training error
B. Reduce sequence length to one token automatically
C. Learn different contextual relationships in parallel subspaces
D. Avoid all projections
Answer: C - Learn different contextual relationships in parallel subspaces
Explanation: Independent heads can attend to different patterns before their outputs are combined. Inspect the
attention-score shape and where masking enters softmax. Masking and score normalization together define the information
an attention layer can access.
007. What is a common goal of multimodal contrastive models?
A. Align representations of related images and text
B. Perform exact logical proofs at inference
C. Turn every image into identical pixels
D. Eliminate the need for any training signal
Answer: A - Align representations of related images and text
Explanation: Shared embedding spaces can bring matched modalities into correspondence. Check positive/negative
construction and prevent data overlap across splits. Poorly constructed positive pairs or data splits can conceal
representation-learning failures.
008. What is dropout's training-time behavior?
A. Deletes entire layers permanently
B. Randomly zeroes selected activations
C. Sets all activations to one
D. Applies only to the target labels
Answer: B - Randomly zeroes selected activations
Explanation: Dropout samples a mask during training and scales activations to preserve expected magnitude. Use
validation-only model selection and preserve a sealed final test set. Using validation data for tuning while reserving test
data protects reported performance.
Original practice and instructional resources 3
CS 7643 Deep Learning
Practice Exam - Version A
100 questions | Immediate answers | Detailed explanations
100 16 A-D
QUESTIONS TOPIC MODULES ANSWER FORMAT
A concept-first workbook with immediate answers and teaching rationales
,PASSPOINT PRO / CS 7643 DEEP LEARNING
Practice Exam - Version A
100 original A-D practice questions. Each answer and rationale follows the question. Topics include theory, computation,
architecture, debugging and research design.
001. What does softmax produce when applied over attention scores?
A. A matrix of integer token IDs
B. Nonnegative weights that sum to one over allowed keys
C. Unbounded negative weights
D. The model's exact test accuracy
Answer: B - Nonnegative weights that sum to one over allowed keys
Explanation: Softmax normalizes compatibility scores into an attention distribution. Inspect the attention-score shape and
where masking enters softmax. Masking and score normalization together define the information an attention layer can
access.
002. Why report multiple random seeds for stochastic deep-learning experiments?
A. To show variability and reduce reliance on a lucky run
B. To guarantee models become deterministic
C. To eliminate the need for baselines
D. To convert accuracy into a loss
Answer: A - To show variability and reduce reliance on a lucky run
Explanation: Different random seeds can change initialization, batching and observed outcomes. Compare multiple seeds,
baselines and reward assumptions rather than one run. Reliable conclusions come from controlled comparisons rather than
a single high reward or score.
003. What is teacher forcing during autoregressive sequence training?
A. Remove the output projection
B. Freeze all decoder parameters
C. Provide ground-truth prior tokens as decoder inputs
D. Use future test labels at inference
Answer: C - Provide ground-truth prior tokens as decoder inputs
Explanation: Teacher forcing conditions the next-step prediction on observed preceding tokens during training. Check
ordering, padding masks and hidden-state transitions step by step. The ordering of information through time determines
what the model is allowed to use.
004. What is the role of token embeddings?
A. Shuffle target classes at test time
B. Determine the optimizer's step count
C. Replace a vocabulary with image pixels only
D. Map discrete token IDs to continuous feature vectors
Answer: D - Map discrete token IDs to continuous feature vectors
Explanation: An embedding table assigns learned dense vectors to discrete tokens. Check the sequence mask and the
feature dimension through every transformer block. A model trained with a causal mask cannot legitimately use unseen
future tokens at inference.
Original practice and instructional resources 2
,PASSPOINT PRO / CS 7643 DEEP LEARNING
005. What does the evidence lower bound lower-bound?
A. The number of trainable model parameters
B. Log marginal likelihood of the observed data
C. The learning rate at convergence
D. Training-set accuracy
Answer: B - Log marginal likelihood of the observed data
Explanation: The ELBO is a tractable lower bound on log p(x) based on a variational posterior. Separate reconstruction
likelihood, KL regularization and latent sampling. The balance between fit and latent regularization controls whether z
carries useful information.
006. What is the main benefit of multi-head attention?
A. Guarantee zero training error
B. Reduce sequence length to one token automatically
C. Learn different contextual relationships in parallel subspaces
D. Avoid all projections
Answer: C - Learn different contextual relationships in parallel subspaces
Explanation: Independent heads can attend to different patterns before their outputs are combined. Inspect the
attention-score shape and where masking enters softmax. Masking and score normalization together define the information
an attention layer can access.
007. What is a common goal of multimodal contrastive models?
A. Align representations of related images and text
B. Perform exact logical proofs at inference
C. Turn every image into identical pixels
D. Eliminate the need for any training signal
Answer: A - Align representations of related images and text
Explanation: Shared embedding spaces can bring matched modalities into correspondence. Check positive/negative
construction and prevent data overlap across splits. Poorly constructed positive pairs or data splits can conceal
representation-learning failures.
008. What is dropout's training-time behavior?
A. Deletes entire layers permanently
B. Randomly zeroes selected activations
C. Sets all activations to one
D. Applies only to the target labels
Answer: B - Randomly zeroes selected activations
Explanation: Dropout samples a mask during training and scales activations to preserve expected magnitude. Use
validation-only model selection and preserve a sealed final test set. Using validation data for tuning while reserving test
data protects reported performance.
Original practice and instructional resources 3