Staging server Flashcards

1
Q

Which command below is the correct way to add a git remote to push something to it?
A. git remote create creating ssh://@:path/to/gitrepo

B. git remote add staging ssh://path/to/gitrepo.git

C. git remote add staging ssh://@:path/to/gitrepo.git

D. git remote // push

A

C. git remote add staging ssh://@:path/to/gitrepo.git

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which one of the following commands allows you to temporarily elevate your current user account to have root privileges temporarily?

A. Touch

B. Locate

C. Echo

D. Sudo

A

D. Sudo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which one of the following ports allows outside connections to Postgres?

A. 443

B. 4532

C. 5432

D. 6379

A

C. 5432

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Staging Server?

A

A staging server is used to test the program, web pages, or services in a development environment before they are made live.

It is an element of a staging area or staging web page, where it acts as a provisional hosting and testing server for new software or websites.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Multi-Stage Build?

A

A multistage build allows you to create a final product by combining multiple images. You have a single Dockerfile in a multistage build, but you can define various images inside it to help build the final image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly