Your analytics team is creating a table in a cloud-based MySQL database to archive MP4 video clips uploaded from field drones. Each clip can be hundreds of megabytes, and the team requires that the raw bytes be stored exactly as received, with no character-set conversion or collation. Only accompanying metadata such as camera_id and capture time will be queried-no pattern matching or substring operations will be performed on the video contents. Which column data type best satisfies these requirements, and why?
CLOB - Stores character large objects and automatically encodes the binary video as text.
VARCHAR(1024) - Stores a base64 representation of the video provided it fits within the defined limit.
BLOB - Stores variable-length binary data and is not subject to character-set conversion.
TEXT - Stores large character strings and supports pattern-matching operators on the video bytes.
BLOB is a binary large object designed to hold raw, variable-length bytes such as images, audio, or video. Because a BLOB column is not associated with any character set, the database stores the bit-stream exactly as supplied, meeting the requirement to avoid character-set conversion. CLOB and TEXT are character-oriented types; they expect data to be encoded as text, so storing binary video in them would either force conversion or fail, and they provide text functions that are irrelevant to video. VARCHAR(1024) is a variable-length string with a 1 KB limit in this definition; it is far too small for hundreds-of-megabyte files and would require base64 encoding, increasing size and violating the raw-bytes rule. Therefore, only the BLOB type satisfies both the binary-safety and size requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a BLOB data type used for?
Open an interactive chat with Bash
Why can't a TEXT data type store binary data like videos?
Open an interactive chat with Bash
What happens if a large file is stored in a VARCHAR column?
Open an interactive chat with Bash
CompTIA Data+ DA0-002 (V2)
Data Concepts and Environments
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .