Add office photos
Engaged Employer

Rapyder Cloud Solutions

3.3
based on 41 Reviews
Filter interviews by

10+ CM Hospital Kabul Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. how do you troubleshoot a docker container that is going to die?

Ans.

To troubleshoot a dying docker container, we can use logs, inspect the container, and check resource usage.

  • Check container logs using 'docker logs ' command

  • Inspect the container using 'docker inspect ' command to check its status and configuration

  • Check resource usage using 'docker stats ' command to see if it's running out of memory or CPU

  • Restart the container using 'docker restart ' command if necessary

Add your answer

Q2. how do you take a backup of Linux logs to was S3 bucket?

Ans.

Use AWS CLI to sync Linux logs to S3 bucket

  • Install AWS CLI on the Linux machine

  • Create an S3 bucket and configure IAM role with S3 permissions

  • Use AWS CLI command 'aws s3 sync' to sync logs to S3 bucket

  • Schedule a cron job to run the backup regularly

Add your answer

Q3. how do you give executable permissions of a file only to the user?

Ans.

To give executable permissions of a file only to the user, use the chmod command with the u+x option.

  • Open the terminal and navigate to the directory where the file is located.

  • Use the command 'chmod u+x filename' to give executable permissions to the user only.

  • Verify the permissions using the 'ls -l' command.

Add your answer

Q4. what is the difference between a NAT gateway and an internet gateway

Ans.

NAT gateway is used to provide internet access to private subnets while internet gateway is used to provide internet access to public subnets.

  • NAT gateway is used for outbound traffic while internet gateway is used for inbound and outbound traffic.

  • NAT gateway is associated with a private subnet while internet gateway is associated with a public subnet.

  • NAT gateway performs network address translation while internet gateway does not.

  • Example: NAT gateway is used to allow EC2 inst...read more

Add your answer
Discover CM Hospital Kabul interview dos and don'ts from real experiences

Q5. on what basis you have implemented autoscaling in your project?

Ans.

Autoscaling was implemented based on CPU utilization and network traffic.

  • Autoscaling was implemented to ensure that the application can handle sudden spikes in traffic.

  • CPU utilization and network traffic were used as metrics to trigger autoscaling.

  • The minimum and maximum number of instances were set based on the expected traffic.

  • Load testing was done to determine the optimal scaling thresholds.

  • Autoscaling policies were set to gradually add or remove instances to avoid sudden ...read more

Add your answer

Q6. how do you build and push a docker image to ECR?

Ans.

To build and push a docker image to ECR, we need to create a Dockerfile, build the image, tag it, login to ECR, push the image to ECR.

  • Create a Dockerfile with necessary configurations

  • Build the image using docker build command

  • Tag the image using docker tag command

  • Login to ECR using AWS CLI command aws ecr get-login-password

  • Push the image to ECR using docker push command

Add your answer
Are these interview questions helpful?

Q7. how did you integrate Jenkins and Docker?

Ans.

Jenkins and Docker can be integrated using Jenkins Docker plugin.

  • Install Docker plugin in Jenkins

  • Configure Docker Cloud in Jenkins

  • Create a Jenkins pipeline job and specify Docker image to be used

  • Use Docker commands in Jenkinsfile to build and push Docker images

Add your answer

Q8. how does autoscaling work in AWS?

Ans.

Autoscaling in AWS automatically adjusts the number of EC2 instances in a group based on demand.

  • Autoscaling groups are created and configured with minimum and maximum number of instances.

  • Scaling policies can be defined to adjust the number of instances based on metrics like CPU utilization or network traffic.

  • Autoscaling can be triggered manually or automatically based on CloudWatch alarms or scheduled events.

  • Autoscaling can also integrate with Elastic Load Balancing to distri...read more

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

Q9. what is AWS config and define it

Ans.

AWS Config is a service that provides a detailed inventory of AWS resources and their configuration history.

  • AWS Config continuously monitors and records changes to resources and their configurations.

  • It provides a detailed view of resource inventory, configuration history, and configuration change notifications.

  • It helps in compliance auditing, security analysis, and resource change tracking.

  • AWS Config rules can be used to evaluate resource configurations against best practices...read more

Add your answer

Q10. what is a launch template?

Ans.

A launch template is a pre-configured set of Amazon Machine Images (AMIs), instance types, and other settings used to launch EC2 instances.

  • Launch templates simplify the process of launching EC2 instances by providing a pre-configured set of settings.

  • They can be used to launch instances in an Auto Scaling group or individually.

  • Launch templates can be versioned and updated to reflect changes in the desired configuration.

  • They can also be shared across AWS accounts and regions.

  • La...read more

Add your answer

Q11. Linux command to find disc utilization?

Ans.

Command to find disk utilization in Linux?

  • Use 'df' command to display disk space utilization

  • Use '-h' option to display sizes in human-readable format

  • Use '-T' option to display file system type

  • Use '-x' option to exclude certain file system types

  • Example: 'df -hT -x tmpfs -x devtmpfs'

Add your answer

Q12. What is a NAT gateway?

Ans.

A NAT gateway is a managed network address translation service provided by AWS.

  • It allows instances in a private subnet to connect to the internet or other AWS services.

  • It provides better availability and bandwidth than a NAT instance.

  • It automatically scales to meet traffic demands.

  • It can be used to reduce the attack surface of instances in a private subnet.

  • It can be used to access resources in a VPC from a remote network.

Add your answer

Q13. explain CI/CD in your project.

Ans.

CI/CD is the process of continuous integration and continuous delivery/deployment.

  • In our project, we use Jenkins as our CI/CD tool.

  • Every time a developer pushes code to the repository, Jenkins automatically builds and tests the code.

  • If the build and tests pass, Jenkins deploys the code to a staging environment for further testing.

  • Once the code is approved in staging, Jenkins deploys it to production.

  • This process ensures that code changes are thoroughly tested and deployed qui...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at CM Hospital Kabul

based on 1 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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