0
0
Hadoopdata~5 mins

External vs managed tables in Hadoop - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is a managed table in Hadoop?
A managed table is a table where Hadoop manages both the metadata and the data files. When you drop the table, both the metadata and the data are deleted.
Click to reveal answer
beginner
What is an external table in Hadoop?
An external table stores metadata in Hadoop but the data files are stored outside Hadoop's control. Dropping the table deletes only the metadata, not the data files.
Click to reveal answer
intermediate
When should you use an external table instead of a managed table?
Use an external table when you want to keep the data files even if the table is dropped, or when data is shared across multiple systems.
Click to reveal answer
beginner
What happens to data files when you drop a managed table?
The data files are deleted along with the table metadata because Hadoop manages both.
Click to reveal answer
beginner
How does Hadoop treat data files of an external table when the table is dropped?
Hadoop deletes only the metadata but leaves the data files untouched in their original location.
Click to reveal answer
What happens to data files when you drop an external table in Hadoop?
AOnly metadata is deleted
BData files are deleted
CBoth data and metadata are deleted
DNothing happens
Which type of table does Hadoop fully manage, including data files?
AManaged table
BExternal table
CTemporary table
DPartitioned table
When is it best to use an external table?
AWhen you want Hadoop to delete data automatically
BWhen you want to store data inside Hadoop only
CWhen you want faster queries
DWhen data is shared or needs to persist beyond table deletion
If you want Hadoop to delete data files when dropping a table, which table type should you choose?
AExternal table
BManaged table
CTemporary table
DView
Which statement is true about external tables?
AThey store data inside Hadoop's warehouse directory
BThey manage both data and metadata
CThey only manage metadata, data is external
DThey cannot be dropped
Explain the key differences between external and managed tables in Hadoop.
Think about what happens to data files when you drop each table type.
You got /4 concepts.
    Describe a real-life scenario where using an external table is better than a managed table.
    Consider when you want to keep data safe even if the table is removed.
    You got /4 concepts.