Add office photos
Employer?
Claim Account for FREE

RSA

3.8
based on 16 Reviews
Filter interviews by

10+ Al Samiya International Interview Questions and Answers

Updated 5 Feb 2024

Q1. What happens if there does not exist a particular file and we are trying to execute the file

Ans.

Execution of non-existent file

  • An error message is displayed indicating the file does not exist

  • The program may crash or terminate abruptly

  • The operating system may throw an exception

  • The program may prompt the user to create the file

Add your answer

Q2. Why Kubernetes was used in your real life example why not docker swarm

Ans.

Kubernetes was chosen due to its superior orchestration capabilities and larger community support.

  • Kubernetes has better load balancing and scaling features

  • Kubernetes has a larger community and more resources available

  • Docker Swarm is simpler and easier to use for smaller projects

  • Kubernetes is more suitable for complex, large-scale applications

Add your answer

Q3. How can you change the owner of a file in linux

Ans.

To change the owner of a file in Linux, use the chown command.

  • Use the chown command followed by the new owner's username and the file name.

  • To change the owner and group, use chown followed by the new owner's username, a colon, the new group's name, and the file name.

  • To change the owner of a directory and its contents, use the -R option with chown.

  • Example: chown newowner myfile.txt

  • Example: chown newowner:newgroup myfile.txt

  • Example: chown -R newowner mydirectory

Add your answer

Q4. How will you give group and user permissions in linux

Ans.

To give group and user permissions in Linux, use the chmod command.

  • Use the chmod command followed by the permission code (e.g. 755) and the file or directory name.

  • To give permissions to a specific user, use the chown command followed by the username and file or directory name.

  • To give permissions to a specific group, use the chgrp command followed by the group name and file or directory name.

Add your answer
Discover Al Samiya International interview dos and don'ts from real experiences

Q5. What is the difference between git clone and git fork

Ans.

git clone copies a repository to local machine while git fork creates a copy on GitHub.

  • git clone downloads the entire repository to local machine

  • git fork creates a copy of the repository on GitHub

  • git clone is used to work on an existing repository

  • git fork is used to contribute to someone else's repository

  • git clone creates a local copy of the repository

  • git fork creates a remote copy of the repository

Add your answer

Q6. Swap two numbers without using third variable

Ans.

Swap two numbers without using third variable

  • Use arithmetic operators to swap values

  • Addition and subtraction can be used to swap values

  • XOR operator can also be used to swap values

Add your answer
Are these interview questions helpful?

Q7. Sort the numbers written in string format using python

Ans.

Sort numbers in string format using Python

  • Convert the array of strings to an array of integers using map()

  • Sort the array of integers using sorted()

  • Convert the sorted array of integers back to an array of strings using map()

Add your answer

Q8. What is Maven and Why it is used

Ans.

Maven is a build automation tool used primarily for Java projects.

  • Maven manages dependencies and builds the project using a pom.xml file

  • It simplifies the build process by providing a standard way of building and packaging projects

  • Maven can also generate reports and documentation for the project

  • Example: mvn clean install - compiles, tests, and packages the project

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. How you push code to Github

Ans.

Code is pushed to Github using Git commands through the terminal or a Git client.

  • Create a new repository on Github

  • Clone the repository to your local machine

  • Make changes to the code and commit them using Git commands

  • Push the changes to Github using Git commands

Add your answer

Q10. How to run a cron job

Ans.

A cron job can be run using the crontab command in Unix/Linux systems.

  • Open the terminal and type 'crontab -e' to edit the cron table.

  • Add a new line with the desired schedule and command to run.

  • Save and exit the editor to activate the cron job.

  • Use 'crontab -l' to list all current cron jobs.

  • Use 'crontab -r' to remove all cron jobs.

Add your answer

Q11. Reverse a string without using array

Ans.

Reverse a string without using array

  • Use two pointers, one at the start and one at the end of the string

  • Swap the characters at the two pointers and move the pointers towards each other

  • Repeat until the pointers meet in the middle of the string

Add your answer

Q12. What is Docker

Ans.

Docker is a platform for developing, shipping, and running applications using containerization technology.

  • Docker allows developers to package their applications and dependencies into a container that can run on any system

  • Containers are lightweight and provide isolation, making it easy to deploy and scale applications

  • Docker Hub is a repository of pre-built images that can be used to quickly deploy applications

  • Docker Compose is a tool for defining and running multi-container ap...read more

Add your answer

Q13. What is Kubernetes

Ans.

Kubernetes is an open-source container orchestration platform that automates deployment, scaling, and management of containerized applications.

  • Kubernetes is used to manage containerized applications across multiple hosts.

  • It automates deployment, scaling, and management of containerized applications.

  • It provides a platform for deploying, scaling, and managing containerized applications.

  • Kubernetes is highly scalable and fault-tolerant.

  • It provides a declarative API for managing a...read more

Add your answer

Q14. Largest Palindrome substring

Ans.

Find the largest palindrome substring in a given string.

  • Iterate through the string and check for palindromes of odd and even lengths.

  • Keep track of the largest palindrome found so far.

  • Use dynamic programming to optimize the solution.

  • Example: 'babad' -> 'bab' or 'aba'.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.9
 • 58 Interview Questions
4.0
 • 16 Interview Questions
4.0
 • 14 Interview Questions
3.9
 • 13 Interview Questions
4.2
 • 10 Interview Questions
3.9
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter