Databricks-DE-Pro Data Security and Compliance Practice Question
A data engineer is configuring a Unity Catalog external location to securely access data in an AWS S3 bucket. The engineer has already created an IAM role with the necessary permissions and configured the storage credential. Which additional step is required to allow Databricks to access the S3 bucket?
⚠ Common exam trap
The trap here is thinking that attaching IAM roles to instances or using secrets is sufficient, when Unity Catalog requires an external location object to bridge the credential and path.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create an external location that references the storage credential and the S3 bucket path, then grant appropriate privileges on the external location.
After creating a storage credential, you must create an external location that maps the credential to a specific S3 path. Then, you grant privileges on that external location to allow access. This is the standard Unity Catalog workflow for external data. The other options describe incorrect or legacy methods.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Generate a personal access token (PAT) for the IAM role and store it in Databricks secrets.
Why it's wrong here
IAM roles do not have personal access tokens; PATs are for Databricks users. Storing credentials in secrets is not the mechanism for Unity Catalog external locations. The storage credential already securely stores the IAM role information. Using PATs or secrets for cloud storage access is not the Unity Catalog approach and would not grant the necessary permissions.
- ✗
Configure the S3 bucket policy to allow access from the Databricks control plane's IP addresses.
Why it's wrong here
While network restrictions can be part of security, the primary requirement for Unity Catalog external access is the external location and storage credential. The S3 bucket policy must allow the IAM role to access it, but that is part of the IAM role setup. Allowing control plane IPs is not the step for enabling data access; it's more about network security. The key step is creating the external location.
- ✗
Attach the IAM role directly to the Databricks workspace's EC2 instances so they can assume the role.
Why it's wrong here
In Unity Catalog, access to external storage is managed through storage credentials and external locations, not by attaching IAM roles to EC2 instances. The storage credential encapsulates the IAM role, and Databricks uses it to access the S3 bucket. Attaching the role to instances is a legacy method used in workspaces without Unity Catalog and is not required here.
- ✓
Create an external location that references the storage credential and the S3 bucket path, then grant appropriate privileges on the external location.
Why this is correct
An external location combines a storage credential with a cloud storage path. After creating the storage credential, you must create an external location that points to the S3 bucket path and uses that credential. Then, you grant privileges like CREATE EXTERNAL TABLE or READ FILES on the external location to users or groups. This is the required step to enable access.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
About these practice questions
Courseiva writes every Databricks-DE-Pro question from scratch — 267 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Databricks exam blueprint
This Databricks-DE-Pro practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-DE-Pro exam.