
Question bank
CCA Spark and Hadoop Developer
10 CCA Spark and Hadoop Developer questions with the correct answer and a written explanation, organised across 6 exam domains.
- 10 questions
- 6 domains
- Foundation level
Question index
Jump straight to any question. Answers and explanations are inline.
Cluster Management
1 questions in this domain
- Question 1Single Choice
In a Cloudera deployment, what is the role of Apache Atlas in relation to Apache Ranger for security enforcement?
- AAtlas enforces access policies by blocking users from reading files, while Ranger stores metadata tags.
- BAtlas classifies and tags data assets, and this metadata synchronizes to Ranger so it can enforce tag-based access policies.Correct answer
- CRanger sends security policies to Atlas, and Atlas enforces them at the file system level.
- DAtlas and Ranger are independent; Atlas manages user roles, and Ranger manages metadata.
Why this is the answer
Atlas manages metadata and classification; it does not enforce access. Tags flow from Atlas to Ranger, which then enforces tag-based access policies (TBAC).
Data Analysis
2 questions in this domain
- Question 2Single Choice
Which Cloudera component is responsible for defining and enforcing access control policies?
- AApache RangerCorrect answer
- BApache Atlas
- CApache Hive
- DApache Spark
Why this is the answer
Ranger is the centralized security administration tool used to define and enforce access policies. Atlas handles metadata management, while Hive and Spark are data processing engines.
- Question 3Multiple Select
Which statements correctly describe Apache Atlas' role in security and governance? (Select all that apply.)
- AAtlas provides data classification and lineage tracking.Correct answer
- BAtlas enforces access policies by blocking unauthorized reads.
- CAtlas tags are synced to Ranger for tag-based policy execution.Correct answer
- DAtlas receives policies from Ranger to manage metadata.
Why this is the answer
Atlas is a governance and metadata tool used for classification, lineage, and cataloging. Tags flow from Atlas to Ranger to inform policies; Atlas itself cannot enforce or block access.
Data Ingestion
1 questions in this domain
- Question 4Single Choice
Which Apache Hadoop component is used to centrally define and enforce access policies for data resources?
- ARangerCorrect answer
- BAtlas
- CKerberos
- DHiveServer2
Why this is the answer
Ranger is the centralized security administration tool used to define and enforce access policies. Atlas manages metadata, Kerberos handles authentication, and HiveServer2 is a service principal.
Data Processing
3 questions in this domain
- Question 5Single Choice
Which component in the Hadoop ecosystem is used to define and enforce access policies?
- ARangerCorrect answer
- BAtlas
- CHDFS
- DHive
Why this is the answer
Ranger is the centralized security administration tool used to define and enforce access policies. Atlas is a metadata management framework and does not enforce access. HDFS and Hive are not policy enforcement tools.
- Question 6Multiple Select
Which statements correctly describe Apache Atlas? (Select all that apply.)
- AAtlas is primarily a metadata management framework for data classification, lineage tracking, and cataloging.Correct answer
- BAtlas can enforce access policies by blocking users from reading sensitive files.
- CTag metadata in Atlas can be synchronized to Ranger to enable tag-based access control.Correct answer
- DMetadata flows from Ranger to Atlas so Ranger classifications can update Atlas tags.
Why this is the answer
Atlas is a governance and metadata tool that classifies data, tracks lineage, and catalogs assets. It cannot enforce security. Atlas metadata, including tags, flows to Ranger to inform tag-based policies, not the other way around.
- Question 7Interactive
A developer creates a Ranger policy with a tag condition, as shown in the snippet. Where are the tag definitions managed and synchronized from?
- AAtlasCorrect answer
- BRanger
- CHDFS
- DYARN
Why this is the answer
The snippet represents a tag-based Ranger policy. Tags are defined and maintained in Atlas, then synchronized to Ranger so policies can be enforced based on data classifications such as PII.
Data Storage
2 questions in this domain
- Question 8Single Choice
In a Cloudera deployment, which component is responsible for defining and enforcing access control policies?
- AApache RangerCorrect answer
- BApache Atlas
- CApache Hive
- DApache Spark
Why this is the answer
Ranger is the centralized security administration tool used to define and enforce access policies. Atlas is a metadata management framework and does not enforce security.
- Question 9Multiple Select
Which statements correctly describe the integration between Apache Atlas and Apache Ranger?
- AWhen a user tags an asset in Atlas, that metadata can be synchronized to Ranger for tag-based policies.Correct answer
- BRanger sends metadata tags to Atlas to enforce classification-based access control.
- CAtlas can block users from reading a file if they are not authorized.
- DRanger can execute policies based on Atlas tags rather than specific file paths or table names.Correct answer
Why this is the answer
Metadata flows from Atlas to Ranger: Atlas tags such as 'PII' are synchronized to Ranger, which can then enforce policies based on those tags. Atlas is purely a governance and metadata tool and cannot block access, and metadata does not flow from Ranger to Atlas.
Security
1 questions in this domain
- Question 10Single Choice
In a Cloudera environment, which component is responsible for defining and enforcing access policies, and which component serves as the metadata management framework?
- ARanger enforces access policies; Atlas manages metadata, classification, and lineage.Correct answer
- BAtlas enforces access policies; Ranger manages metadata, classification, and lineage.
- CRanger manages metadata and lineage; Atlas enforces access policies.
- DBoth Ranger and Atlas enforce access policies collaboratively.
Why this is the answer
Ranger is the centralized security administration tool used to define and enforce access policies, while Atlas is the metadata management framework used for data classification, lineage tracking, and cataloging. Together, they ensure security follows the data.
Frequently asked questions
Everything about the CCA Spark and Hadoop Developer question bank and how to use it.