Add two new questions

This commit is contained in:
abregman 2019-10-30 21:30:44 +02:00
parent 680f5425a7
commit 9d676bdd25
3 changed files with 19 additions and 3 deletions

View File

@ -2,7 +2,7 @@
:information_source:  This repository contains interview questions on various DevOps and SRE related topics
:bar_chart:  There are currently **501** questions
:bar_chart:  There are currently **503** questions
:books:  To learn more about DevOps check the resources in [devops-resources](https://github.com/bregman-arie/devops-resources)
@ -1237,6 +1237,10 @@ While an A record points a domain name to an IP address, a PTR record does the o
2. SSH server is not running
</b></details>
<details>
<summary>How to print the shared libraries required by a certain program? What is it useful for?</summary><br><b>
</b></details>
<a name="linux-advanced"></a>
#### :star: Advanced
@ -3466,6 +3470,7 @@ Scenarios are questions which don't have verbal answer and require you one of th
These questions usually given as an home task to the candidate and they can combine several topics together.
Below you can find several scenario questions:
* [Writing a Dockerfile and running a container](scenarios/write_dockerfile_run_container.md)
* [Elasticsearch & Kibana on AWS](scenarios/elk_kibana_aws.md)
* [Ansible, Minikube and Docker](scenarios/ansible_minikube_docker.md)
* [Cloud Slack bot](scenarios/cloud_slack_bot.md)

View File

@ -0,0 +1,11 @@
# Write a Dockerfile and run a container
Your task is as follows:
1. Create a Docker image:
* Use centos or ubuntu as the base image
* Install apache web server
* Deploy any web application you want
* Add https support (using HAProxy as reverse-proxy)))
2. Once you wrote the Dockerfile and created an image, run the container and test the application. Describe how did you test it and provide output
3. Describe one or more weakness of your Dockerfile. Is it ready to be used in production?

View File

@ -1,4 +1,4 @@
#!/bin/bash
# 5 is the number of scenario questions.
expr 5 + $(cat README.md | grep \<\/summary\> | wc -l)
# 6 is the number of scenario questions.
expr 6 + $(cat README.md | grep \<\/summary\> | wc -l)