AWS CERTIFIED DEVOPS ENGINEER – PROFESSIONAL LEVEL SAMPLE QUESTIONS

1) Select all deployment methods that never require a DNS change: "All at Once", Rolling, Immutable environments Explanation All the above do not require a DNS change except for Blue/Green. The key word is never. In Blue/Green we need to change DNS settings to point to the new environment, especially if you are using Elastic … Continue reading AWS CERTIFIED DEVOPS ENGINEER – PROFESSIONAL LEVEL SAMPLE QUESTIONS

Read-only file system

[root@localhost ~]# touch sample touch: cannot touch ‘sample’: Read-only file system [root@localhost ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/xvda2 ext3 25G 1.7G 22G 8% / devtmpfs devtmpfs 908M 0 908M 0% /dev tmpfs tmpfs 917M 0 917M 0% /dev/shm tmpfs tmpfs 917M 25M 893M 3% /run tmpfs tmpfs 917M 0 … Continue reading Read-only file system

Kubernetes Resource types

Resource types Resource type Abbreviated alias all certificatesigningrequests csr clusterrolebindings clusterroles componentstatuses cs configmaps cm controllerrevisions cronjobs customresourcedefinition crd daemonsets ds deployments deploy endpoints ep events ev horizontalpodautoscalers hpa ingresses ing jobs limitranges limits namespaces ns networkpolicies netpol nodes no persistentvolumeclaims pvc persistentvolumes pv poddisruptionbudgets pdb podpreset pods po podsecuritypolicies psp podtemplates replicasets rs replicationcontrollers … Continue reading Kubernetes Resource types

Deploying ssl certificates on AWS ELB

Below are possible options available In aws for managing ssl certificates 1) Choose a certificate from ACM (recommended) 2) Choose a certificate from IAM 3) Upload a certificate to IAM In this we shall follow Choose a certificate from IAM creating self signed ssl certtificates steps Generate private Key(Open SSL) Generate Self Signed Certificate (Open … Continue reading Deploying ssl certificates on AWS ELB

Docker swarm

[root@instance-1 ~]# docker swarm Usage: docker swarm COMMAND Manage Docker Swarm Options: --help Print usage Commands: init Initialize a swarm join Join a swarm as a node and/or manager join-token Manage join tokens update Update the swarm leave Leave the swarm (workers only) Run 'docker swarm COMMAND --help' for more information on a command. [root@instance-1 … Continue reading Docker swarm

How to write Dockerfile

Dockerfile Syntax Dockerfile syntax consists of two kind of main line blocks: comments and commands + arguments. # Print “Hello docker!” RUN echo “Hello docker!” COMMAND DESCRIPTION ADD Copies a file from the host system onto the container CMD The command that runs when the container starts(This CMD instruction is used to define what command … Continue reading How to write Dockerfile