Which Power BI File to Gitignore to Prevent Data Push
You have a Microsoft Power BI project that contains a semantic model. You plan to use Azure DevOps for version control. You need to modify the .gitignore file to prevent the data values from the data sources from being pushed to the repository. Which file should you reference?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests Power BI version control file structures; the common trap is confusing local settings or model metadata with the actual cached data values stored in cache.abf.
When using Azure DevOps for version control with Power BI, preventing data values from data sources from being pushed to the repository requires ignoring the cache.abf file. This page establishes that cache.abf holds the cached data and should be excluded via .gitignore.
Choosing localSettings. because it sounds like it might contain sensitive configurations, but it does not contain the actual data values from the data sources.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The cache.abf file contains the cached data from the semantic model's data sources. By adding cache.abf to the.gitignore file, you prevent this potentially large and sensitive cached data from being pushed to the Azure DevOps repository. This is a standard practice for Power BI version control to keep repositories lean and secure.Why the Other Options Are Wrong
localSettings. contains local user-specific configurations and paths, not the data values from the data sources. model.bim contains the semantic model's metadata and schema definitions, not the cached data. unappliedChanges. tracks local unapplied changes to the model metadata, which also does not include data values.Community Comment Notes
As pk07 noted, "This file contains the cached data for the semantic model" and excluding it "will prevent data from data sources from being pushed". testtaker45 also pointed out that localSettings. contains "settings specific to the local environment" rather than "data values from the Data Sources".Official Reference
Exam Strategy
Know the specific file extensions generated by Power BI Desktop and what data each contains. Remember that cache.abf holds the actual cached data, while model.bim holds the metadata.
Related Analysis
Practice All DP-600 Questions
Access 115 questions with complete answers and detailed explanations.
View Full DP-600 Practice Test →