iMANAGE DEVOPS

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Explain branching in Git

By default, you are always on the master branch. When changes need to be made, you can first create them on a new branch. Once the changes are ready to be made, you can merge the new branch with the master branch.

Tell me about Configuration Management.

Configuration management ensures that an application performs to it's requirements and design and it's intended purpose. In DevOps, it: Standardizes resource configurations and Maintains integrity of the infrastructure.

How do you push a file from your computer to Github?

Connect local repo to remote repo. git remote add origin {repo url} Push the file to the remote repo git push origin master

What is the difference between a container and a VM?

Containers are quicker to deploy and take less space. Eliminate application conflicts between different environments. VMs have everything you need to run a machine so there is a lot of unnecessary bloat for certain things. Take up more space.

Tell me about AWS

Contains a lot of different services that are useful for many different things. Built for scale. For example, during my first DevOps related project, I tried to host a game server on a t2.micro, but it was extremely sluggish and no one could connect or it would crash. Changed my terraform code from a t2.micro to a t2.medium to allocate more resources and had the server running flawlessly with no problems with a few friends connected. It's flexible and lets you build and destroy EC2s in moments. High level of security with user permissions.

Tell me about Continuous Monitoring

Continuous Monitoring ensures that all resources, servers, and applications are running properly. Allows you to identify and problems or bottlenecks. AWS Cloud Watch?

What is the difference between continuous deployment and continuous delivery?

Continuous delivery = manual review before changes are made Continuous deployment = fully automated changes can be made, but after passing many tests

What does DevOps mean to you?

DevOps is the culmination of tools and practices to improve efficiency and create better applications and programs. I think of Scale, Speed, Security, Reliability, and Collaboration. I think of a small organization that is growing larger that needs the resources, the scalability, to grow larger with them. A organization may have multiple teams that need to work together or join together to form one team with the same goal. I think of virtualization, AWS, and Terraform for provisioning infrastructure. Ultimately, DevOps is all about improving the application development life cycle.

What are the benefits of using Git/Github? / What are the benefits of a distributed version control system?

Git is a distributed version control system. Github is a cloud based hosting service that lets you manage Git repositories. Distributed version control system like Git is great, because: Every developer has all versions of the code at anytime. Descriptions of why some code was changed, added, or removed.

What is the difference between git pull and git fetch?

Git pull git pull origin master Updates the current branch with the latest changes from the remote repo. Git fetch git fetch origin Downloads only new data from a remote repo and then stores them on a new branch. Must merge them afterward. git merge git pull = git fetch + git merge

Tell me what you know about Ansible

Never used it before. I know it allows you to automate infrastructure and deployment. For example, I am pretty business minded, so when I did my first DevOps project, the game server on an AWS EC2 using Terraform, I immediately thought, wouldn't it be cool if I could automate this process and create a website that would allow customers to purchase pre-built game servers. They could scale depending on how many players they wanted to have and would only have to run when they needed it. -- Then immediately my vision was crushed when there turned out to be hundreds of businesses exactly like this already. Anyway, I still wanted to get some more hands on experience so I began looking into how to automate things like installing Java which was a requirement for this game server as well as editing an EULA text file and a configuration file. First, I tried to do this completely through Terraform itself using remote-exec, but my ec2 was running windows 10 so there was no way to install something like Java or the game server itself since I didn't have Linux's apt-get command. I would need to install something like Chocolatey and then install Java and the game server through that afterwards. I think this may have been possible, but after doing some research I think my best options would have been to change my Terraform to instead start a linux EC2 rather than a windows EC2 or to use something like Ansible. I didn't get around to actually using Ansible like I mentioned previously, but from the research I did I think this would have been a great option.

Tell me what you know about Jenkins

Never used it before. I know it is used to automate software development processes like building, testing, and deploying.

Tell me what you know about Docker

Never used it, but I know it allows you to create containers that are highly efficient and easy to scale.

What is a git commit and how do you use it?

Records a change to a repository. git commit -m "description of change"

What is SSH?

Secure Shell that allows users to login with a secure and encrypted mechanism into remote computers.

Explain Infrastructure as Code

Writing code to provision or deploy infrastructure, as well as manage configurations. Allows you to manage data centers through code rather than physical hardware configurations. Improves consistency, reliability, and repeatability.

How do you add all changes made to a Git repo?

git add .

How do you download a repository hosted on Github to your computer?

git clone

How do you create a new local repository?

git init

How do you rename a file using a CLI with Git?

git mv


Kaugnay na mga set ng pag-aaral

CHAPTER 4 CONCEPTS RELATED TO PHARMACOLOGY

View Set

Statistics Final Multiple Choice

View Set

ATI: Nurses touch: Wellness and self care practice assessment

View Set

WISE- Practice Test #7- Money Management

View Set

Vocabulario Tecnologia Espacial - Caio

View Set