Blog Archives
1 … 6 7 8 9 10 11 12 13 14 … 16

17: 50+ SQL scenarios based interview Q&As on teams & matches played

Let’s look at a standard teams interview question to understand your SQL knowledge in using a non-equi join. Problem Statement 1 Given the below 5 teams

1) Write a query so that each team plays with each other only once. 2) Write a query so that each team plays...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


17: PySpark problem solving Interview Q&As with tutorials – problem 1

This is based on the series of tutorials & interview Q&As at PySpark interview Q&As with tutorials

Problem: Convert the below table

to

Where each column is counted for its occurrence. For example,

…

Read more ›



17: Spark interview Q&As with coding examples in pyspark (i.e. python)

Q01. How will you create a Spark context? A01.

Q02. How will you create a Dataframe by reading a file from AWS S3 bucket? A02.

Q03. How will you create a Dataframe by reading a table in a database? … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


18 Amazon S3 interview Q&As

Q01. What is Amazon S3 storage? A01. S3 stands for Simple Storage Service, which provides storage through web service interfaces. Unlike the other storage systems like Unix file system, HDFS (i.e. Hadoop Distributed File System), etc which are based on having folders and files, the S3 is based on a...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


18: 50+ SQL scenarios based interview Q&As on account balance

Here is another SQL scenario based interview question to determine a candidate’s ability to translate a business requirement into an SQL query. Problem Statement Given the below data of running account balance, find the start_date and end_date where the balance changes.

Expected output:

Create sample data

Solution...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


18: PySpark problem solving Interview Q&As with tutorials – problem 2

Problem: Convert the below table

to

Step 1: Let’s create the sample data using PySpark. problem.py:

Run as:

Outputs:

pivot( ) to the rescue Step 2: The code to create the results. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


18: Q121 – Q124 Choosing between HDFS & AWS S3 for BigData projects interview Q&As

More and more organisations are adopting the policy of “Cloud first architecture” where Cloud based storages like AWS S3 plays a major role. A data lake is a storage repository that holds a vast amount of structured, semi-structured, and unstructured raw data in its native format (aka pristine condition). …...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: 50+ SQL scenarios based interview Q&As on effective_date

Here is another SQL scenario based interview question to determine a candidate’s ability to translate a business requirement into an SQL query. These are scenarios where you want to find a value at a certain point in time. Lean more about SCD Type 2 at 13 Data Warehouse interview Q&As...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: PySpark on handling duplicates Interview Q&As with tutorials

Given the below data, where the record with the emp_name “Elliot” is repeated.

distinct(..) Q: How will you eliminate duplicate rows? A: Use the distinct(..) function. problem.py:

Run as:

Outputs:

dropDuplicates(..) Q: What if you want to remove records based on duplicate values in selected columns?...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


19: Q125 – Q130 Apache Zookeeper interview Q&As

Q125. What is Apache Zookeeper & where can you use it? A125. Distributed applications like HBase, Solr, Kafka, etc run services on multiple nodes (i.e. computers) for scalability (i.e more nodes can be added) & redundancy (i.e. several nodes provide the same service & if one node is down another...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: 50+ SQL scenarios based interview Q&As on first visit vs repeated visits

Let’s look at a very common problem statement of finding out the repeat customers, repeat visits, etc. The key to this problem is first determining the first visit or first purchase and then comparing it with the remaining records. Problem Statement 1 Given the below table, how will you determine...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: PySpark Dataframe Vs Pandas Dataframe Interview Q&As with tutorials

This extends NumPy Vs Pandas interview questions & answers – part 1 Q: What is the difference between PySpark Dataframe & a Pandas Dataframe? A: PySpark is a library where the operations are quicker than Pandas Dataframe library because of its parallel execution over multiple CPU cores & … Read...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


20: Q131 – Q137 FAQ Apache Solr with HDFS interview questions & answers

Covers Solr interview Q&As in general, and how Solr can be used with Big Data in HDFS to index & query the data. You can get sub-seconds query performance when query the data on HDFS that are indexed using Solr. Q131. How does Solr accomplish fast search performance? … Read...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 6 7 8 9 10 11 12 13 14 … 16

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data