Find Interview Questions for Top Companies
Relinns Technologies Interview Questions and Answers
Ques:-  How can you encrypt sensitive data in Ansible? Using Ansible Vault to encrypt passwords, secrets, and files.
Right Answer:

You can encrypt sensitive data in Ansible using Ansible Vault by running the command `ansible-vault encrypt <file>` to encrypt files or `ansible-vault encrypt_string '<string>'` to encrypt individual strings.

Ques:-  What is a handler in Ansible? Handlers are tasks that run only when notified (e.g., restart a service after config change).
Right Answer:

A handler in Ansible is a special type of task that runs only when it is notified by another task, typically used to perform actions like restarting a service after a configuration change.

Ques:- What languages and frameworks does Heroku support natively?
Asked In :- Relinns Technologies,
Right Answer:

Heroku natively supports languages and frameworks including Ruby, Java, Node.js, Python, PHP, Go, Scala, and Clojure.

Ques:- What is Heroku and how does it differ from traditional hosting?
Right Answer:

Heroku is a cloud platform that allows developers to build, run, and operate applications entirely in the cloud. Unlike traditional hosting, which often requires managing servers and infrastructure, Heroku abstracts these complexities, enabling developers to focus on coding and deploying applications quickly without worrying about the underlying hardware or server management.

Ques:- How do Heroku Pipelines and Review Apps work?
Asked In :- Relinns Technologies,
Right Answer:

Heroku Pipelines allow you to organize your app's development workflow by creating different stages (like development, staging, and production). Review Apps are temporary environments created automatically for each pull request, allowing you to test changes in isolation before merging them into the main branch. This helps in reviewing and testing features without affecting the main application.

Ques:- How is Heroku’s filesystem structured? Is it persistent?
Asked In :- Relinns Technologies,
Right Answer:

Heroku's filesystem is structured as a temporary, ephemeral storage. It is not persistent, meaning any changes made to the filesystem will be lost when the dyno restarts or is redeployed.

Ques:- How does Heroku handle logs and how do you access them?
Asked In :- Relinns Technologies,
Right Answer:

Heroku handles logs by aggregating them from all your application processes and system components. You can access the logs using the Heroku CLI with the command `heroku logs –tail`, which streams the logs in real-time. You can also view logs through the Heroku Dashboard under the "More" menu by selecting "View Logs."

Ques:- What is Netlify and what are its main features
Asked In :- Relinns Technologies,
Right Answer:
Netlify is a platform for deploying and hosting static websites and web applications. Its main features include continuous deployment from Git, serverless functions, form handling, a global Content Delivery Network (CDN), automated HTTPS, and built-in analytics.
Ques:- What are Netlify build plugins and how do they work
Asked In :- Relinns Technologies,
Right Answer:
Netlify build plugins are reusable pieces of code that extend the functionality of the Netlify build process. They can automate tasks, enhance performance, or integrate with other services during the build phase of a site. Plugins are configured in the `netlify.toml` file and run at specific points in the build lifecycle, allowing developers to customize and optimize their deployment workflows easily.
Ques:- What is continuous deployment and how does Netlify support it
Right Answer:
Continuous deployment is a software development practice where code changes are automatically deployed to production after passing tests. Netlify supports continuous deployment by integrating with version control systems like Git. When developers push changes to their repository, Netlify automatically builds and deploys the updated site, ensuring that the latest version is always live.
Ques:- What is Netlify Functions and how are serverless functions implemented
Asked In :- Relinns Technologies,
Right Answer:
Netlify Functions are serverless functions that allow you to run backend code without managing servers. They are implemented by creating JavaScript or Go files in a designated directory (usually `netlify/functions`) in your project. When deployed, these functions can be triggered via HTTP requests, enabling you to handle tasks like API calls, form submissions, and database interactions.
Ques:- What is the difference between Netlify and traditional hosting services
Asked In :- Relinns Technologies,
Right Answer:
Netlify is a platform specifically designed for modern web development, offering features like continuous deployment, serverless functions, and built-in CDN, while traditional hosting services typically provide basic server space and require manual deployment and configuration.
Ques:- What is the difference between copy and view in NumPy
Right Answer:
In NumPy, a copy creates a new array that is a duplicate of the original array, and changes to the copy do not affect the original. A view, on the other hand, is a reference to the original array, so changes to the view will affect the original array.
Ques:- What are masked arrays and when would you use them
Right Answer:
Masked arrays are arrays that allow you to hide or ignore certain elements based on a mask (a boolean array). You would use them when you need to handle data with missing or invalid values without removing those elements from the array.
Ques:- What are some common functions for array manipulation in NumPy
Right Answer:
Some common functions for array manipulation in NumPy include:

1. `np.reshape()`
2. `np.flatten()`
3. `np.concatenate()`
4. `np.vstack()`
5. `np.hstack()`
6. `np.split()`
7. `np.transpose()`
8. `np.roll()`
9. `np.repeat()`
10. `np.unique()`
Ques:- How do you perform aggregation functions like sum, mean, or std in NumPy
Right Answer:
You can perform aggregation functions in NumPy using the following methods:

- **Sum**: `numpy.sum(array)`
- **Mean**: `numpy.mean(array)`
- **Standard Deviation**: `numpy.std(array)`

Replace `array` with your NumPy array variable.
Ques:- How do you stack or split arrays in NumPy
Right Answer:
You can stack arrays in NumPy using `np.vstack()` for vertical stacking, `np.hstack()` for horizontal stacking, and `np.dstack()` for depth stacking. To split arrays, use `np.split()`, `np.hsplit()`, or `np.vsplit()` depending on the desired axis.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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