DP-700 · Practice set 7 of 17
OneLake and Apache Airflow Workspace Settings: 10 practice questions
10 free DP-700 practice questions on OneLake and Apache Airflow Workspace Settings, with an explanation for every answer. Untimed. The full mock exam and the timed version are in the app.
-
Question 1 of 10
A team uses the Apache Airflow Starter Pool of a workspace. What happens to the runtime when nobody uses the Airflow environment?
- AIt shuts down after 20 minutes of inactivity
- BIt scales down to a Small node after 20 minutes
- CIt stays on until an admin pauses it manually
- DIt shuts down after 5 minutes of inactivity
Show the answer
The two Airflow pools differ in how they stay up. The Starter Pool is built for development, so it shuts down by itself after 20 minutes of inactivity on the Airflow environment. The Custom Pool is the one that stays on until someone pauses it.
Next → 1 / 10 -
Question 2 of 10
A workspace admin applies an immutability period to the OneLake diagnostic logs. Which statement is true after that?
- AThe files stay locked after the period ends, until the lakehouse is deleted
- BThe period can be made shorter later, but it can't be made longer
- CThe period can't be changed, and files can't be deleted until it passes
- DEach locked file adds an extra immutability charge to the capacity
Show the answer
Think of immutability as a lock with a timer that nobody can reset. During the period, the log files can't be modified or deleted. When the period passes for a file, that file is editable and deletable again. The lock itself costs nothing extra.
Next → 2 / 10 -
Question 3 of 10
How many OneLake lifecycle management policies and rules can one workspace have?
- AUp to 10 policies with one rule each
- BOne policy with up to 10 rules
- COne policy with up to 256 rules
- DOne policy for each lakehouse, with up to 10 rules
Show the answer
The policy belongs to the workspace, not to an item, and there is one of it. Inside that one policy you can have up to 10 rules. To treat lakehouses differently, you scope rules to paths with prefixes. You don't create more policies.
Next → 3 / 10 -
Question 4 of 10
A lifecycle rule has two actions for the same files: `TierToCool` when `daysAfterModificationGreaterThan` is 30, and `TierToCold` when it is 90. A file was last modified 120 days ago and is still in the hot tier. What does the next policy run do with the file?
- AIt moves the file to the cool tier first, and to cold in the next run
- BIt moves the file to cool only, because the first action listed wins
- CIt moves the file straight to the cold tier
- DIt leaves the file in hot, because the two actions are in conflict
Show the answer
When two actions match the same file, lifecycle management doesn't apply them in order. It applies the least expensive action, and the move to cold is considered less expensive than the move to cool. This file meets both conditions, so it goes to cold.
Next → 4 / 10 -
Question 5 of 10
OneLake diagnostics of the workspace Sales writes events to a lakehouse in the workspace Logs. Then Sales is moved to a different capacity, and Logs stays where it is. No new events arrive. What should the admin of Sales do?
- AReset the immutability period of the workspace Logs
- BTurn the toggle back on, to keep the same lakehouse
- CWait up to one hour for the events to flow again
- DSelect a new lakehouse within the new capacity
Show the answer
The destination lakehouse must be in the same capacity as the workspace. When Sales moves, that is no longer true, so diagnostic logging is disabled. To turn it on again, the admin selects a new lakehouse within the new capacity.
Next → 5 / 10 -
Keep the ones you got wrong
In the app, every question you miss comes back exactly when you’re about to forget it.
Opens in your browser. Nothing to install.
Start studying -
Question 6 of 10
A workspace has an Airflow custom pool named ProdPool. The workspace setting for customizing compute configurations for items is disabled. Which pool do the Airflow environments in the workspace use?
- AThe Starter Pool, for all environments
- BNo pool, so the environments can't start
- CProdPool for production, the Starter Pool for the rest
- DProdPool, for all environments
Show the answer
Creating a custom pool isn't enough. A workspace setting controls if items can customize their compute configuration. When that setting is disabled, the starter pool is used for all environments within the workspace, whatever custom pools exist.
Next → 6 / 10 -
Question 7 of 10
The Files folder of the lakehouse Archive holds files that are used less and less. The admin must write one lifecycle rule: a file moves to the cool tier when nobody has read or written it for 30 days, and it goes back to the hot tier when it is read again. Which condition and actions does the rule need?
- A`daysAfterCreationGreaterThan` with `TierToCool` and `enableAutoTierToHotFromCool`
- B`daysAfterLastAccessTimeGreaterThan` with `TierToCool` and `enableAutoTierToHotFromCool`
- C`daysAfterModificationGreaterThan` with `TierToCool` and `enableAutoTierToHotFromCool`
- D`daysAfterLastAccessTimeGreaterThan` with `TierToCold` and `enableAutoTierToHotFromCool`
Show the answer
Translate each requirement. No read or write for 30 days is a last access condition. Going back to hot on a read is the action `enableAutoTierToHotFromCool`, and that action is available only together with the last access condition. `TierToCool` does the first move.
Next → 7 / 10 -
Question 8 of 10
A company sends the OneLake diagnostic events of the workspaces of one capacity to a lakehouse in a dedicated workspace named AuditLogs. A new workspace, Finance, is in the same capacity and uses workspace outbound access protection. Finance needs OneLake diagnostics too. Which lakehouse should the admin select for Finance?
- AThe lakehouse in the workspace AuditLogs
- BA lakehouse in a different capacity
- CA lakehouse inside the workspace Finance itself
- DA second lakehouse in AuditLogs
Show the answer
Two rules meet here. The lakehouse must be in the same capacity, which AuditLogs and Finance both satisfy. But OneLake diagnostics isn't compatible with outbound access protection across workspaces, so a protected workspace must use a lakehouse in the same workspace.
Next → 8 / 10 -
Question 9 of 10
A team runs complex production DAGs in Apache Airflow. The runtime must not shut down when it is idle. It needs capacity for six more workers, with no more nodes than needed. Which workspace configuration follows the node size guidance and meets these needs?
- AA Custom Pool with Small nodes and two extra nodes
- BThe Starter Pool with two extra nodes added to it
- CA Custom Pool with Large nodes and six extra nodes
- DA Custom Pool with Large nodes and two extra nodes
Show the answer
Take the needs one by one. No shutdown when idle means a Custom Pool, which is always on until manually paused. Complex or production DAGs point to the Large node size. Each extra node gives capacity for three more workers, so six workers need two extra nodes.
Next → 9 / 10 -
Question 10 of 10
Developers use the Airflow environment of a workspace a few times a day. After each long break they wait some minutes while the Starter Pool resumes. The team makes a Custom Pool the workspace default to avoid that wait. What does the Custom Pool change?
- AThe runtime is available instantly when the pool is created
- BResuming becomes instant, where the Starter Pool needs up to 5 minutes
- CThe runtime stays on while idle, until someone pauses it manually
- DThe pool still shuts down when idle, but after 60 minutes
Show the answer
Compare the two pools property by property. Resume time is the same, up to 5 minutes for both. The difference is uptime: a Starter Pool shuts down after 20 minutes of inactivity, and a Custom Pool is always on until it is manually paused. No shutdown means no resume to wait for.
Next → 10 / 10 -
You’ve finished this set
That’s 10 questions on OneLake and Apache Airflow Workspace Settings. In the app the ones you miss come back exactly when you’re about to forget them.
Back to the course Next lesson: Git Integration WorkflowOpens in your browser. Nothing to install.
Start studying
The whole course, on your computer and your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.
Opens in your browser. Nothing to install.
Start studying“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”
