DevOps 1005

docx

School

University of the Cumberlands *

*We aren’t endorsed by this school

Course

531

Subject

Computer Science

Date

Apr 3, 2024

Type

docx

Pages

10

Uploaded by shreshov2

Report
DevOps 1005 Note Please ignore grammatical and spelling errors. The questions I were asked in my interview Introduce yourself What is your role in your current job or what is your day to day activities tell me about your self and what you do on a day to day activity 1. Tell me about umask umask is command to change the permission level of any file or directory. For example if a file has a permission level of 777, we can change it to 755 by using umask command of 0022. eg umask 0022 filename 1. h ow can you permanently do a umask We can permanently do a umask by changing the umask in .bashrc or .profile file in the home directory. how can you change the content of a file with one command we can change the content of file by using > and >> operators. eg. echo “This text is inserted in a file “>filename The > operators overwrites the existing file while the >> operator adds to the existing file. tell me about ansible Ansible is a configuration management tool to manage servers. In ansible there is a master and other nodes. The ansible tool is installed in the master and it deploys the commands to the other nodes using an agentless ssh connection. The nodes are listed in a file called inventory and the commands to be operated in nodes called modules are deployed using a yaml file called playbook. what is env variable vs default variable in anisble env variable are the variables that defines the setting of the environment the application is going to run. For example JAVA_HOME gives the java that is going to run natively for the application. Default variable are
how did you create pipelines on jenkins We can create pipeline in jenkins by creating new pipeline project. We can get the source code using link to github and build application using maven or gradle plugins. Then we can deploy the builds to cotainers using kubernetes or webservers using tomcat. how did you import code from git to jenkins use git repository https link for source code tell me what you do on kubernetes kubernetes is container orchestration tool. We can deploy applications on containers and manage the numbers of containers, their health and statistics using kubernetes. how do you create deployment and scale it To create a deployment we have to create a yaml file with kind: deployment. Inside the yaml file we need to populate, apiVersion, kind, metatdata and spec. After that to create deployment we can use command: kubectl create -f deploymentFile.yaml To scale the deployment you can just increase the number of replicas in deployment yaml file. Or you can use command kubectl apply –replicas=numbers deploymentFile.yaml What is horizontal scaling? When the demand of application running in a container is increased, to properly run the application without any outage, the number of containers running the application needs to be increased. Increasing the number of containers running the application is horizontal scaling. what do you find hard on devops job palo alto : this was all kubernetes questions tell me about yourself and what do you do on a regular basis what have you done on GC on a kubernetes
Can you explain what you think kubernetes is on your terms. what is a daemon set on kubernetes explain what is and how you would create a deployment how would you get the logs of the container from the pods using command line Tell me your role in the current project? What cloud platform you are comfortable working with? Describe how to create a VPC peering connection from one AWS account to another so that you could SSH from an EC2 instance in one account to ec2 in the other account If you are using remote terraform state file in the aws environment and you receive the error “Access Denied ” when running a terraform plan or terraform apply command, what could be the possible cause? What is the advantage of using Jenkinsfile over coding a pipeline through the console? Some questions about Route53, dns, NACL, Iam role and security group, ebs? What is git merge conflict? How to code commit in the remote repository? In the end, they asked me the rate I am willing to work on, and if I would work on w-2 or 1099? Tell me about yourself and what do you do in a daily basis Tell me what do you do in Jenkins Explain what is kubernetes What are pods How would you let in the incoming traffic Have you worked with ssl certificates Explain ci/cd Explain some project you did in Jenkins in couple of mins What is elb What do u know about openshift What have you done in splunk Tell me about your role in your current project?.. How many members are there in your team? How do you transfer files from one server to another server?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
If your EC2 instance stopped working how would you create another instance without any downtime? What does Jenkins use to communicate with Java applications? What is a sidecar in Kubernetes? Does your developers team have direct access to your Jenkins CI/CD pipeline? Some commands of Kubernetes nterview Questions What are the things you have done in Terraform? What Terraform Modules have you used? How do you create and connect to an EC2 Instance using Terraform? What is the main file in Terraform? How can you scale up or scale down EC2 Instances? What is VPC? Can you connect between multiple VPC’s in different regions? What is an S3 Bucket? How do you view the contents of an S3 Bucket? How do you connect S3 Buckets to your EC2 instance? What is the EBS Volume? Can you connect multiple EBS volumes to a single instance? Can you connect a single EBS volume to multiple EC2 instances? What are the things you have done in Ansible? What is an Ansible playbook? What are some Ansible modules? How familiar are you with kafka? interview questions Introduce yourself Explain about cloudtrail and cloud watch Explain autoscaling in aws Explain loadbalancer in aws Did you work with bitbucket or git How do you go back to the commit in git How do you pull the code automatically from git into Jenkins Have you worked with docker volume How do you tag in docker Have you used autoscaling in docker Tell me about yourself
Talk about the past project Specifically about your involvement in Linux What kind of programming language have you used How do you update versions If there is new version of python for instance, how do you update it Manually or automate it If you automate it how do you do it. Interview Questions Tell me about yourself? What is your experience in aws cloud? How do you create VPC , subnets in aws? Do you have any experience in IAC? What is terraform cloud? What version of terraform are you using ? Tell me about terraform plugins? Tell me what you have done in kubernetes? Tell me about yourself What kind of scripting have you done in shell or python What is the init What is difference between class and function If you need to call variables from another file in python into the main file how would you do it How would you pass parameters in Linux scripting How would you import data from a file in shell If you had a file with <id/> how would u just segregate the id On docker how would you run multiple containers in sequential order from a dockerfile I n docker how would you compile some app without installing it in the container How would you deploy from the container What is kubectl Have you created the kubernetes architecture In aws, if you have 20 servers and 15 have the updated app. 2.0 and 5 have 1.0 what could be the issue and how would you troubleshoot it What is a playbook
Have you created playbbok or just maintained it What is a task in playbook How would you install something using playbook How would you encrypt a file in ansible How would you encrypt a file other than using vault What are the different types of vault in ansible Interview Questions from Macy’s Tell me about your day to day work. Can you explain about configuration of Startup, liveliness and readiness probes in Kubernetes ? Can you tell me how splunk works? Have you worked with Terraform? What is provisioners in terraform? How do you check the security of docker image and explain how it works. How does Prometheus work. How do you install Prometheus, node-exporter and Grafana. How and where do you get alerts? what kind of application did you build using Jenkins CI/CD How do you work with nexus repository/artifactory? JFrog what is staging in Git? Interview questions from BoA How do you see how long the servers have been running If you wanted to give access to a group of people to a directory how would you do it If you wanted Noone else but the owner to delete a file how would you do it How do you create a dockerfile to run say a python app What is difference between entrypoint and cmd How would you get an archive file using a playbook from an http source How would you download a file using playbook with a url What did you use for pipeline Did you use azure for pipeline What kind of build classic or other What are the differences
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
What is the advantage of yml build If I have a password and I want to deploy it in the build but I do not want other people to see the password how do I do it What are agents in azure devops Have you used terraform What are the different types of files that are required in terraform In terraform if resources are created and if you run the same file the same resources won't be created again why? Where is the state file stored, if it is stored in local it will be deleted. cbs questions Introduction What services have you used in aws Why terraform over cloud formation How would you use multi account platform in aws Deacribe one major problems did you and how you over came Do you document your work and how do you do it How big is your team How do you manage the work and track what everyone is doing since you do cross platform work How do you perform cross platform training Questions What is your role at the current job? How familiar are you with cloud technologies and which one do you prefer? How do you create an EC2 instance through Terraform?
How do you create multiple EC2 instances through Terraform? What do you set up your EC2 instance to directly access websites? How do you add load balancing to your EC2 instances? What kind of work have you done with CI/CD pipeline? What kind of work have you done on Kubernetes? Bikram Sir, [2023-07-06 3:24 PM] Questions What kind of scripting languages are you familiar with? What kind of task have you done with shell script and python? How familiar are you with groovy language? Do you have experience in Configuration Management tools like Ansible, Puppet or Chef? How familiar are you with Ansible Roles? How do you store secrets in Ansible? Whats your experience in JAVA programming? What tools have you used for CI/CD pipeline? Give an example of a project. Whats your preference in working with teams- working on single project at a time? Or working in multiple tasks with different teams at the same time? Interview Questions -where do you check logs on linux server? -what kind of logs do you find there? -what does scp command do ? -what is the command to print? -Use cases of ansible and terraform? -In ansible, what is host variable and environment variable? if you have to give a user x a sudo permission on all the servers, how do write a playbook? -in ansible, what is a purpose of template? -what is terraform module? -how do you monitor the kubernetes cluster? OpenShift -what is a sidecar container? -what different methods you have used to schedule the pods in different nodes? -what do you define Devops? -how do you keep yourself updated with new tech?
-Have you experienced any changes in work environment since you first started working? -Can you briefly tell your story abt changes that you have seen in company culture, methods and tools in last five years? o If you type in www.google.com in your browser, what are the processes happened in backgroud to get the response. o How do you make sure that your worker nodes in kubernetes are up to date. o W hat do you check first if your kubernetes pod fails to start or in pending status? How do you troubleshoot this issue and fix it ? Kubectl logs How do you make sure that you have scaled 1000 pods and they are up and running? o What is bastion host server? Why is it used for? Are you using bastion host in your company now? o What is Amazon EKS? How does it work? o What did you do with terraform module? What is reason behind using module in terraform? 8.If one of your customer is requesting you to create VPC for them and what are the things you need to think before suggesting your customer to create specific VPC. Questions: How do you establish a connection between On premise network and cloud network? What will you do if you are unable to connect to an EC2 instance even if you have the correct credentials? Write a shell script to view the PID of top 2 processes. Write a python script to get unique characters from a string. In terraform how do you create multiple instances and install software directly before they start? What if the configuration is huge?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Can you install packages directly on EC2 servers when creating them through AWS console? Do you know about zero-trust micro-segmentation