šŸŽ“ BookMCQ
← Back to 32. Internet Security

šŸ“ S/MIME secure email protocol (23 MCQs)

šŸ“– From Data Communication and Networks • 32. Internet Security • 23 questions available

What is S/MIME secure email protocol?

S/MIME is an IETF standard for secure email that integrates with existing email clients using X.509 certificates and a centralized Public Key Infrastructure to provide encryption, digital signing, and message integrity for enterprise environments.

7
Easy
10
Medium
6
Hard

šŸ“ All S/MIME secure email protocol MCQs

Q1. Which of the following best defines an I‑frame in MPEG compression?

A.A frame that predicts motion from both previous and future frames
B.An independent frame that does not rely on any other frame āœ…
C.A frame that only contains changes from the preceding frame
D.A frame used solely for audio synchronization
šŸ’” Difficulty: easy | āœ… Correct: B

šŸ“– Explanation: An I‑frame, also called an intra‑coded frame, is self‑contained; it can be decoded without reference to any other frame. This independence allows a decoder to start playback at any I‑frame. The other options describe P‑ or B‑frames or unrelated concepts, making B the correct definition.

Q2. What characterizes a P‑frame in a MPEG GOP?

A.It is independent and can be decoded without any reference
B.It predicts from future frames only
C.It contains the full picture data like an I‑frame
D.It encodes only the differences from the previous I‑ or P‑frame āœ…
šŸ’” Difficulty: easy | āœ… Correct: D

šŸ“– Explanation: A P‑frame (predicted frame) relies on the immediately preceding I‑ or P‑frame and stores only the changes, reducing the amount of data needed. Unlike I‑frames, it cannot be decoded on its own, and unlike B‑frames, it does not use future information. Therefore option D accurately captures its role.

Q3. If a B‑frame’s future reference I‑frame is lost during transmission, what is the most likely outcome?

A.The B‑frame cannot be decoded, causing a visible artifact. āœ…
B.The B‑frame will be decoded using only the previous frame.
C.The B‑frame will be treated as an I‑frame.
D.The decoder will skip the B‑frame without affecting later frames.
šŸ’” Difficulty: easy | āœ… Correct: A

šŸ“– Explanation: Because a B‑frame depends on both a previous and a future reference, the loss of its future I‑frame removes essential prediction data. Without that reference, the decoder cannot reconstruct the B‑frame correctly, leading to a noticeable artifact. The other options assume fallback mechanisms that MPEG does not provide for B‑frames.

Q4. Which frame type typically achieves the highest compression ratio in a MPEG GOP?

A.I‑frames
B.P‑frames
C.B‑frames āœ…
D.All frame types compress equally
šŸ’” Difficulty: easy | āœ… Correct: C

šŸ“– Explanation: B‑frames are bidirectional and can reference both past and future frames, allowing them to exploit temporal redundancy more effectively than P‑frames (which reference only past frames) and I‑frames (which contain full image data). Consequently, B‑frames usually achieve the greatest compression, making option C correct.

Q5. Why are periodic I‑frames required in a streaming video broadcast?

A.To increase motion smoothness
B.To allow a viewer to start decoding at any point āœ…
C.To reduce audio latency
D.To synchronize subtitles
šŸ’” Difficulty: easy | āœ… Correct: B

šŸ“– Explanation: Periodic I‑frames provide complete picture information, enabling a decoder to begin playback at any point in the stream. Without regular I‑frames, a viewer joining late would encounter incomplete data and could not reconstruct the video, which is why option B is the correct justification.

Q6. In a GOP pattern I B B P B B, how many B‑frames depend on the same I‑frame?

A.1
B.2 āœ…
C.3
D.4
šŸ’” Difficulty: easy | āœ… Correct: B

šŸ“– Explanation: The two B‑frames that immediately follow the I‑frame reference that I‑frame (as the past reference) and the subsequent P‑frame (as the future reference). Both share the same I‑frame as their past reference, so exactly two B‑frames depend on that I‑frame, making option B correct.

Q7. What is the raw bitrate (in bits per second) for an uncompressed 1920Ɨ1080 video at 30 fps with 24‑bit colour depth?

A.1.0 Gbps
B.1.2 Gbps
C.1.5 Gbps āœ…
D.2.0 Gbps
šŸ’” Difficulty: easy | āœ… Correct: C

šŸ“– Explanation: The bitrate is calculated as 1920Ɨ1080Ɨ30Ɨ24=1,492,992,0001920 \times 1080 \times 30 \times 24 = 1,492,992,000 bits per second, which is approximately 1.5 Gbps. This matches option C, while the other choices underestimate or overestimate the required bandwidth for the given parameters.

Q8. If the frame rate is increased from 30 fps to 60 fps while keeping resolution and colour depth constant, how does the required bandwidth change?

A.It doubles āœ…
B.It stays the same
C.It halves
D.It increases by 25 %
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Bandwidth is directly proportional to frame rate when all other factors (resolution, colour depth) remain unchanged. Doubling the frame rate from 30 fps to 60 fps therefore doubles the amount of data transmitted each second, so the required bandwidth also doubles, making option A correct.

Q9. An I‑frame is inserted every 2 seconds in a 30 fps video. How many I‑frames appear in one minute of video?

A.15
B.30 āœ…
C.45
D.60
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: At 30 fps, two seconds contain 60 frames, and one I‑frame is placed in that interval. One minute equals 60 seconds, which contains 30 intervals of two seconds, so 30 I‑frames are transmitted. Therefore option B correctly reflects the count.

Q10. What is the primary trade‑off when increasing the number of B‑frames in a GOP?

A.More B‑frames reduce latency
B.More B‑frames increase latency but improve compression
C.More B‑frames have no effect on either metric
D.More B‑frames increase both compression and latency equally āœ…
šŸ’” Difficulty: medium | āœ… Correct: D

šŸ“– Explanation: Adding B‑frames improves compression because they can reference both past and future frames, but each B‑frame requires the decoder to wait for future reference frames, which adds decoding delay. Hence, the increase in B‑frames simultaneously raises compression efficiency and latency, making option D the best description.

Q11. Which GOP pattern best minimizes bandwidth while keeping end‑to‑end latency below 0.5 seconds?

A.I P B B P B B I
B.I B B P B B I B B P
C.I B P B I B P B I
D.I B B B P B B B I āœ…
šŸ’” Difficulty: medium | āœ… Correct: D

šŸ“– Explanation: A pattern with a single I‑frame followed by multiple B‑frames and a single P‑frame (I B B B P B B B I) maximizes temporal compression while limiting the distance between reference frames, which keeps the decoding delay under half a second. This arrangement therefore satisfies both bandwidth and latency requirements, making option D correct.

Q12. If a B‑frame is omitted from a transmitted GOP, what is the most likely effect on later frames?

A.Subsequent P‑frames cannot be decoded
B.Only the missing B‑frame is lost
C.Later B‑frames that reference it may be corrupted āœ…
D.All frames after the gap become I‑frames
šŸ’” Difficulty: medium | āœ… Correct: C

šŸ“– Explanation: B‑frames can serve as reference frames for subsequent B‑frames. When a B‑frame is missing, any later B‑frames that would have used it as a past or future reference lose that information, potentially causing visual artifacts or decoding errors, while P‑frames remain unaffected. Hence option C is correct.

Q13. How does MPEG‑4’s use of B‑frames typically differ from MPEG‑2’s approach?

A.MPEG‑2 never uses B‑frames
B.MPEG‑4 typically uses more B‑frames for higher compression āœ…
C.MPEG‑2 uses B‑frames only for audio
D.Both standards use B‑frames equally
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: MPEG‑4 was designed to improve compression efficiency and often employs a larger proportion of B‑frames compared to MPEG‑2, leveraging their bidirectional prediction to achieve higher quality at lower bitrates. This distinction makes option B the accurate statement.

Q14. Which strategy best ensures a late‑joining viewer receives a complete picture within two seconds?

A.Transmit an I‑frame every 0.5 seconds āœ…
B.Use only P‑frames
C.Insert a B‑frame before each I‑frame
D.Send audio only
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Sending an I‑frame every half‑second guarantees that a viewer who starts at any moment will encounter a full picture within at most 0.5 seconds, well within the two‑second requirement. The other options either do not provide a complete picture or are unrelated to video synchronization, so option A is correct.

Q15. In the GOP sequence I B B P B B P B B I B B (12 frames), how many P‑frames are present?

A.2 āœ…
B.3
C.4
D.5
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: Examining the pattern reveals P‑frames at the fourth and seventh positions. No other frames are labeled P, so the total count of P‑frames is two, which corresponds to option A.

Q16. What is the effect of compressing audio separately versus jointly with video in a transport stream?

A.Separate compression always yields lower total bitrate
B.Joint compression can exploit cross‑modal redundancy āœ…
C.Audio compression has no impact on video bitrate
D.Combining audio and video always increases latency
šŸ’” Difficulty: medium | āœ… Correct: B

šŸ“– Explanation: When audio and video are compressed together, algorithms can identify and remove redundancies that span both streams (e.g., shared timing information), potentially achieving a lower combined bitrate than compressing each independently. This cross‑modal advantage makes option B the correct choice.

Q17. A raw 1080p frame at 24‑bit depth occupies how many bytes, and what is its size after compressing to 1/50th of the original?

A.ā‰ˆā€Æ0.12 MB āœ…
B.ā‰ˆā€Æ0.6 MB
C.ā‰ˆā€Æ1.2 MB
D.ā‰ˆā€Æ2.5 MB
šŸ’” Difficulty: medium | āœ… Correct: A

šŸ“– Explanation: The raw frame size is 1920Ɨ1080Ɨ24=49,766,4001920 \times 1080 \times 24 = 49,766,400 bits, or about 6.22 MB. Reducing this by a factor of 50 yields roughly 0.124 MB (ā‰ˆā€Æ0.12 MB). Therefore option A accurately reflects both the raw and compressed sizes.

Q18. If a P‑frame is lost due to network jitter, how does error propagation differ from losing a B‑frame, and what mitigation technique can be used?

A.Loss of a P‑frame corrupts only that frame
B.Loss of a B‑frame propagates to future frames
C.Loss of a P‑frame may affect subsequent P‑ and B‑frames, while loss of a B‑frame affects only itself āœ…
D.Both losses are recovered automatically
šŸ’” Difficulty: hard | āœ… Correct: C

šŸ“– Explanation: A missing P‑frame removes a reference that later P‑ and B‑frames depend on, causing a cascade of errors until the next I‑frame. In contrast, a missing B‑frame does not serve as a reference, so only that frame is degraded. Forward error correction or retransmission of critical P‑frames can mitigate the more severe propagation.

Q19. When comparing entropy coding efficiency, how does a stream using only I‑frames compare to one using mixed I/P/B frames for high‑motion content?

A.Mixed I/P/B gives significantly lower entropy, reducing bitrate by roughly 60 % āœ…
B.Only I‑frames achieve lower entropy due to lack of motion vectors
C.Both approaches have similar entropy when motion is low
D.Mixed frames increase entropy because of additional headers
šŸ’” Difficulty: hard | āœ… Correct: A

šŸ“– Explanation: High‑motion video benefits from predictive coding; mixed I/P/B streams can represent changes with far fewer bits than a sequence of full I‑frames, which must encode each picture independently. The resulting entropy reduction can be on the order of 60 % or more, making option A the accurate assessment.

Q20. Which approach best integrates S/MIME encryption with an MPEG transport stream while preserving frame integrity?

A.Encrypt the entire transport stream with S/MIME and embed the certificate in each packet
B.Apply S/MIME only to audio packets
C.Wrap each GOP in a S/MIME signed‑and‑encrypted container, managing keys per session āœ…
D.Use S/MIME for key exchange but not for actual video data
šŸ’” Difficulty: hard | āœ… Correct: C

šŸ“– Explanation: Encapsulating each GOP in a S/MIME container provides end‑to‑end confidentiality and authenticity while keeping the MPEG frame boundaries intact. Session‑based key management allows efficient encryption without re‑encrypting the whole stream, making option C the most practical and secure solution.

Q21. Given a 5 Mbps channel, 1280Ɨ720 resolution, and 24‑bit colour depth, what is the maximum achievable frame rate without compression?

A.ā‰ˆā€Æ0.2 fps āœ…
B.ā‰ˆā€Æ2 fps
C.ā‰ˆā€Æ5 fps
D.ā‰ˆā€Æ10 fps
šŸ’” Difficulty: hard | āœ… Correct: A

šŸ“– Explanation: Each frame requires 1280Ɨ720Ɨ24=22,118,4001280 \times 720 \times 24 = 22,118,400 bits. With a 5 Mbps channel, the maximum frame rate is 5,000,000/22,118,400ā‰ˆ0.2265,000,000 / 22,118,400 \approx 0.226 fps, which rounds to about 0.2 fps. Thus option A correctly reflects the theoretical limit.

Q22. What happens to decoding complexity and buffer requirements when the number of B‑frames per GOP increases from 2 to 4?

A.Decoding complexity doubles, but buffer size stays the same
B.Both complexity and buffer requirements increase due to additional reference handling āœ…
C.Complexity decreases because fewer I‑frames are needed
D.Only encoder complexity rises, decoder unchanged
šŸ’” Difficulty: hard | āœ… Correct: B

šŸ“– Explanation: Adding more B‑frames introduces extra bidirectional references, requiring the decoder to store additional future and past frames and perform more motion‑compensation calculations. Consequently, both computational complexity and the size of the reference buffer grow, confirming option B as the correct description.

Q23. If a new codec replaces traditional B‑frames with a deep‑learning bidirectional predictive model, what are the likely advantages and challenges?

A.Potentially higher compression at the cost of increased latency and CPU/GPU load āœ…
B.Reduces latency because predictions are faster
C.Eliminates need for any reference frames
D.Simplifies decoder design
šŸ’” Difficulty: hard | āœ… Correct: A

šŸ“– Explanation: Deep‑learning models can capture complex temporal patterns, offering superior compression ratios. However, they typically require substantial processing power and introduce additional latency due to inference time, posing challenges for real‑time playback. Option A accurately captures both the benefit and the drawback of such an approach.

šŸ”— Related Topics (MCQs)