Find Interview Questions for Top Companies
Iro Interview Questions and Answers
Ques:- What is the difference between GET, POST, PUT, and DELETE in HTTP
Right Answer:
GET is used to retrieve data from a server, POST is used to send data to a server to create a resource, PUT is used to update an existing resource on the server, and DELETE is used to remove a resource from the server.
Ques:- What is CORS and how does it affect API development
Right Answer:
CORS, or Cross-Origin Resource Sharing, is a security feature implemented by web browsers that allows or restricts web applications from making requests to a domain different from the one that served the web page. It affects API development by requiring developers to configure their APIs to specify which origins are allowed to access their resources, ensuring that only trusted domains can interact with the API.
Ques:- What is the difference between REST and SOAP APIs
Right Answer:
REST (Representational State Transfer) is an architectural style that uses standard HTTP methods and is typically more lightweight and easier to use, while SOAP (Simple Object Access Protocol) is a protocol that relies on XML for message format and has strict standards for security and transactions. REST is generally more flexible and faster, while SOAP is more suited for enterprise-level services requiring high security and reliability.
Ques:- What is the role of an API Gateway in microservices architecture
Right Answer:
An API Gateway acts as a single entry point for clients to access multiple microservices, handling requests, routing them to the appropriate services, managing authentication, rate limiting, and aggregating responses.
Ques:- What are HTTP methods and how are they used in APIs
Right Answer:
HTTP methods are standardized request types used in APIs to perform actions on resources. The main methods are:

1. **GET**: Retrieve data from a server.
2. **POST**: Send data to a server to create a new resource.
3. **PUT**: Update an existing resource on the server.
4. **DELETE**: Remove a resource from the server.
5. **PATCH**: Apply partial modifications to a resource.

These methods define the action to be performed on the specified resource in the API.
Ques:- What is prime numbers? how we can get plc write sas code?
Right Answer:
Prime numbers are natural numbers greater than 1 that have no positive divisors other than 1 and themselves.

To write SAS code to get prime numbers, you can use the following code snippet:

```sas
data primes;
do num = 2 to 100; /* Change 100 to any upper limit */
is_prime = 1; /* Assume num is prime */
do i = 2 to sqrt(num);
if mod(num, i) = 0 then do;
is_prime = 0; /* num is not prime */
leave;
end;
end;
if is_prime then output;
end;
run;
```

This code generates prime numbers from 2 to a specified upper limit.
Ques:- What is data normalization and why is it important
Right Answer:
Data normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. It involves structuring the data into tables and defining relationships between them. Normalization is important because it helps eliminate duplicate data, ensures data consistency, and makes it easier to maintain and update the database.
Ques:- What is the role of SQL in data analysis
Right Answer:
SQL (Structured Query Language) is used in data analysis to query, manipulate, and manage data stored in relational databases. It allows analysts to retrieve specific data, perform calculations, filter results, and aggregate information to derive insights from large datasets.
Ques:- What is exploratory data analysis (EDA)
Right Answer:
Exploratory Data Analysis (EDA) is the process of analyzing and summarizing datasets to understand their main characteristics, often using visual methods. It helps identify patterns, trends, and anomalies in the data before applying formal modeling techniques.
Ques:- What is classification analysis and how does it work
Right Answer:
Classification analysis is a data analysis technique used to categorize data into predefined classes or groups. It works by using algorithms to learn from a training dataset, where the outcomes are known, and then applying this learned model to classify new, unseen data based on its features. Common algorithms include decision trees, logistic regression, and support vector machines.
Ques:- What is the difference between correlation and causation
Right Answer:
Correlation is a statistical measure that indicates the extent to which two variables fluctuate together, while causation implies that one variable directly affects or causes a change in another variable.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users