Dynamisch IT
Comfort Inn Tulip Heights Bathinda Punjab Choice Group Of Hotels Interview Questions and Answers
Q1. What's is docker multistage? Explain What is terraform state file ? What happened if 2 user apply terraform at same time ? What will be best practices? Diff btwn stateless and state full What measures will you...
read moreDocker multistage is a feature that allows you to build multiple Docker images in a single Dockerfile.
Docker multistage helps in reducing the size of the final image by using intermediate images for different stages of the build process.
It allows you to separate the build environment from the runtime environment, improving security and efficiency.
Each stage in a multistage build can be named and used to copy artifacts from one stage to another, without including unnecessary d...read more
Q2. How to check recent last 50 logs of docker ?
To check recent last 50 logs of docker, you can use the 'docker logs' command with the '--tail' option.
Use the command 'docker logs --tail 50
' to display the last 50 logs of a specific Docker container. If you want to follow the logs in real-time, you can use the '-f' flag along with the '--tail' option.
To view the logs of all containers, you can use the command 'docker ps -a' to get the list of container IDs and then run 'docker logs --tail 50
' for each container.
Q3. What will you do if 521 error occured?
I would investigate the root cause of the 521 error and take appropriate actions to resolve it.
Check server logs for any relevant error messages
Verify network connectivity between client and server
Ensure server resources are not overloaded
Restart the server if necessary
Contact the service provider for further assistance
Q4. random function in numpy
The random function in numpy generates random numbers from a specified distribution.
Use np.random.rand() to generate random numbers from a uniform distribution between 0 and 1.
Use np.random.randint() to generate random integers within a specified range.
Use np.random.choice() to randomly select elements from an array.
Q5. base authentication explain
Base authentication is a method of verifying the identity of a user before granting access to a system or application.
Base authentication involves sending a username and password in the HTTP header of a request.
The credentials are encoded using Base64 encoding, but not encrypted, making it insecure.
It is commonly used for simple authentication in web applications, but not recommended for sensitive data.
Example: Authorization: Basic dXNlcjpwYXNzd29yZA==
Q6. Explain cicd pipeline ?
CI/CD pipeline is a set of automated processes that allow developers to deliver code changes more frequently and reliably.
CI/CD stands for Continuous Integration/Continuous Delivery.
It involves automating the building, testing, and deployment of code changes.
CI/CD pipelines help in detecting and fixing errors early in the development process.
Popular tools for CI/CD pipelines include Jenkins, GitLab CI, and CircleCI.
Interview Process at Comfort Inn Tulip Heights Bathinda Punjab Choice Group Of Hotels
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month