TCS
10+ SLN Engineering Works Interview Questions and Answers
Q1. While creating a custom role which role should have the access to it
The role with the highest level of access should create the custom role.
The role with the highest level of access should have the ability to manage roles and grant permissions.
This ensures that the custom role is created with the appropriate level of access and permissions.
For example, if the custom role is for a specific department, the department manager role should create it.
Q2. in bulk loading what is the size data gets loaded
The size of data loaded in bulk loading varies based on the file format and compression used.
The size of data loaded can range from a few MBs to several GBs.
The file format used can impact the size of data loaded.
Compression can reduce the size of data loaded.
Snowflake supports various file formats like CSV, JSON, Parquet, etc.
Examples: A CSV file of 1 GB can be loaded in a few minutes.
A compressed Parquet file of 10 GB can take longer to load.
Q3. What is varient data type
Variant data type is a flexible data type in Snowflake that can store semi-structured and nested data.
Variant data type can store JSON, Avro, ORC, and Parquet data formats.
It allows for querying and manipulating semi-structured data without the need for schema changes.
Example: A variant column can store a JSON object with nested arrays and objects.
Q4. difference between union and join
Union combines rows from two or more tables, while join combines columns from two or more tables.
Union appends the rows of one table to another, while join combines columns of two tables based on a common column.
Union does not require a common column, while join requires a common column to match the rows.
Union removes duplicates, while join retains duplicates.
Union can be used to combine tables with different columns, while join requires tables to have at least one common col...read more
Q5. what will happen to cache if the query has changed
The cache will be invalidated and refreshed when the query changes.
When the query changes, the cache will be invalidated to ensure accurate results.
The system will refresh the cache with the updated query results.
This helps prevent outdated or incorrect data from being served from the cache.
Q6. explain snowflake architecture
Snowflake architecture is a cloud-based data warehousing solution that separates storage, compute, and services.
Snowflake uses a unique multi-cluster, shared data architecture.
It separates storage, compute, and services, allowing for independent scaling.
Data is stored in a columnar format, allowing for efficient querying and analysis.
Snowflake also offers automatic scaling and concurrency control.
It supports multiple cloud platforms, including AWS, Azure, and Google Cloud.
Q7. how to optimize sql query
Optimizing SQL queries involves using indexes, minimizing data retrieval, and avoiding unnecessary joins.
Use indexes on columns frequently used in WHERE clauses
Minimize data retrieval by selecting only necessary columns
Avoid unnecessary joins by using subqueries or temporary tables
Q8. Cache concept and type of cache
Cache is a hardware or software component that stores data to reduce future data retrieval time.
Cache is used to store frequently accessed data for quick retrieval.
Types of cache include CPU cache, web cache, and browser cache.
Cache helps improve performance by reducing the need to access data from slower storage mediums.
Examples of cache include L1, L2, and L3 caches in CPUs, and caching mechanisms in web browsers.
Cache can be implemented at different levels in a system, suc...read more
Q9. rate urself in sql out of 10
I would rate myself 8 out of 10 in SQL. I have strong knowledge and experience in writing complex queries and optimizing database performance.
Strong understanding of SQL syntax and commands
Experience in writing complex queries involving multiple tables and joins
Knowledge of database optimization techniques
Familiarity with Snowflake specific SQL functions and features
Q10. purpose of time travel
Time travel is a theoretical concept that involves moving between different points in time.
Time travel is a popular theme in science fiction literature and movies.
The concept of time travel raises questions about causality and the nature of time.
Some theories suggest that time travel could be possible through wormholes or time machines.
Q11. Snowflake functionalities
Snowflake is a cloud-based data warehousing platform that offers features like data sharing, scalability, and performance.
Snowflake allows for easy data sharing between organizations and departments.
It offers scalability by allowing users to easily resize their computing resources based on their needs.
Snowflake provides high performance through its unique architecture that separates storage and compute.
It supports various data types and formats, including structured and semi-...read more
Q12. types of caches
Types of caches include memory cache, disk cache, and browser cache.
Memory cache stores data in memory for quick access.
Disk cache stores data on disk for faster retrieval than from the original source.
Browser cache stores web page elements locally to reduce loading times.
Other types include CPU cache, page cache, and object cache.
More about working at TCS
Interview Process at SLN Engineering Works
Reviews
Interviews
Salaries
Users/Month