Latentview Interview Questions
ADF's parallel copy feature in the Copy Activity enables reading from a source using multiple concurrent threads or connections, significantly improving...
How do you implement parallel copies in Azure Data Factory (ADF) using partitioning?
ADF's parallel copy feature in the Copy Activity enables reading from a source using multiple concurrent threads or connections, significantly improving throughput for large datasets. 1. Physical Partitioning (for relational sources) For Azure SQL, Oracle, SAP HANA, and similar sources, ADF can partition the source query by: Physical partitions : Use existing table partitions (fastest — no extra scanning) Dynamic range : ADF splits a numeric or date column into equal sized ranges Mod partitionin
Write Python code to replace vowels in a string with spaces.
Here are multiple Python approaches to replace vowels in a string with spaces: 1. Using str.translate() — most Pythonic and fast 2. Using regex substitution 3. Using list comprehension 4. Using a loop (explicit, beginner friendly) Performance comparison: str.translate() is fastest — C level implementation, single pass re.sub() is fast and most flexible (supports complex patterns) List comprehension is readable and efficient Loop is clearest for beginners but slowest Testing all approaches:
How do you implement data encryption at rest and in transit in ADLS?
ADLS Gen2 provides multiple layers of encryption to protect data both at rest and during transmission. Encryption at Rest: 1. Azure Storage Service Encryption (SSE) — enabled by default All data written to ADLS Gen2 is automatically encrypted using AES 256 Transparent to applications — no code changes required Covers all stored data: blobs, metadata, snapshots, and backups 2. Service Managed Keys (default) Microsoft manages the encryption keys Automatic key rotation No configuration required 3.
Describe the use of Azure Synapse Analytics and how it integrates with other Azure services.
Azure Synapse Analytics is a unified analytics platform that combines big data analytics, data warehousing, data integration, and visualization in a single workspace. Core components: 1. Dedicated SQL Pool (formerly Azure SQL DW) Massively Parallel Processing (MPP) architecture Optimized for large scale analytical queries (petabyte scale) Columnstore indexes, result set caching, workload management Cost scales with DWU (Data Warehouse Units) 2. Serverless SQL Pool Query data directly in ADLS Gen
How do you implement Continuous Integration and Continuous Deployment (CI/CD) in Azure DevOps?
CI/CD in Azure DevOps automates the testing and deployment of data engineering artifacts — ADF pipelines, Databricks notebooks, dbt models, SQL scripts — through controlled stages. 1. Repository Setup (Azure Repos or GitHub) Store all code in Git: ADF JSON templates, Databricks notebooks, Python scripts, Terraform Use feature branches for development; merge to main via pull requests Enforce branch policies: require at least 1 reviewer, pass CI build before merge 2. Continuous Integration (CI) Pi
Explain the role of metadata in data modeling and data architecture.
Metadata is data about data — it describes structure, origin, meaning, lineage, and usage of data assets. In data engineering, metadata is the backbone of data governance, discoverability, and trust. Types of Metadata: 1. Technical Metadata Schema definitions: column names, data types, constraints, primary/foreign keys File metadata: format (Parquet/CSV), size, location, partition keys, row count Table statistics: cardinality, null counts, min/max values (used by query optimizers) 2. Operational