Structure how you would write an Ansible playbook for setting up a server?
Devops Interview Questions
13,145 devops interview questions shared by candidates
What did you do on previous job
Technical questions about terraform and Azure
How does a computer Boots
Part 2 Create a Powershell script, newGceInstance.ps1 which will do the following: Create a new GCE instance from the Windows 2012 R2 base Image Create a local admin account on the server Create a remote powershell session to the instance Copy svrInfo.ps1 from your local machine onto the instance Run the svrInfo.ps1 script on the instance and write the output to the user's screen Configure a scheduled task on the instance which will run svrInfo.ps1 on server startup and direct output to a local text file. Close the Remote PS session and write a message to the user’s console indicating that the script completed successfully. This script must take the following parameters from the user: InstanceName - Name of the GCE instance to create GceProject - Name of the GCP project where the instance is created GceZone - Name of the GCP zone where the instance is created Script - Location of svrInfo.ps1 on the user’s local machine The script should gracefully fail and output a clear message to the user in the event that the instance already exists in the project.
Q: write a bash one-liner to count the number of unique IP addresses in a log
Asked me to explain in depth, which was good as it showed the depth of competency.
Can you give and example of how you would query MongoDB?
What is your salary range?
Can you explain Linux SUID, SGID, and sticky bit and where do you use them? Plus some other general Linux SysAdmin questions, e.g. routes, iptable, etc.
Viewing 1211 - 1220 interview questions