YouTube Icon

Interview Questions.

Top 14 Apache Presto Interview Questions - Jul 25, 2022

fluid

Top 14 Apache Presto Interview Questions

Q1. What Is The Use Of Mysql Connector?

MYSQL Connector is used to question an external MySQL database.

Q2. What Is Presto Verifier?

Presto verifier is used to test Presto in opposition to another database (which includes MySQL).

Q3. What Is Presto?

Presto is a disbursed SQL question engine. It is an open supply software program venture to expand a database.

Q4. What Are The Presto Applications?

There are diverse Presto applications:

Facebook

Teradata

Airbnb

Q5. What Are The Components Of Presto Architecture?

Presto architecture additives are given underneath:

Client : Clint submits SQL statements to a coordinator to get the end result.

Coordinator: It parses the SQL queries.

Connector : Storage plugin is called as connectors.

Worker : It assigns assignment to employee nodes.

Q6. What Are The Log Files Of The Presto Server?

The logs files of the Presto server are given underneath:

Launcher.Log

Server.Log

http-request.Log

Q7. How Can We Create Table By Using Command?

We can create table by means of using command:

presto:tutorials> create desk mysql.Tutorials.Pattern as   

select * from mysql.Tutorials.Writer;  

Q8. Why Should We Use Presto?

We must use Presto due to its features:

It supports trendy ANSI SQL.

It is constructed in Java.

It has connector architecture that is Hadoop.

It runs on more than one Hadoop distributions.

Q9. What Are The Various Data Types In Presto?

In Presto, there are numerous data sorts in Presto.

Varchar

Bigint

Double

Decimal

Json and so forth.

Q10. What Are The Functions Of Presto?

There are diverse functions of Presto that are given beneath:

Function--->Description

Abs(x):It returns the absolute price of X.

Cbrt(x):It returns the cube root of x.

Ceiling(x):It returns the x value rounded up to nearest integer.

Ceil(x):Arial for ceiling(x)

Log2(x):It returns the base 2 logarithm of x.

Q11. What Is Jmx Connector?

JMX stands for Java Management Extension. It gives information about the java virtual system and software program running interior JVM.

Q12. What Are The Config Properties Of Presto?

The Config properties of Presto are given underneath table:

Config Properties----->Description

mission. Info -refresh-max-wait:It reduces coordinator work load.

Project.Max-worker-threads:It splits the process and assigns to each worker nodes.

Dispensed-joins-enabled:It is Hashed based allotted joins.

Node-scheduler.Community-topology:It sets network topology to scheduler.

Q13. What Is The Default Port Of Presto?

The default port of Presto is 8080.

Q14. What Are The Features Of Presto?

There are following functions of Presto:

It is straightforward to apply.

It affords pluggable connectors.

It offers pipelined executions.

It provides user define features.




CFG