Skip to content

Instantly share code, notes, and snippets.

@yannickjones
Created November 17, 2022 15:15
Show Gist options
  • Save yannickjones/162f069f81607730763252c7ba1f7f86 to your computer and use it in GitHub Desktop.
Save yannickjones/162f069f81607730763252c7ba1f7f86 to your computer and use it in GitHub Desktop.
SRE Interview questions
- Intros + background overview
- API service in a k8s clusters
+ Single region HA from starting with a single pod deployment?
+ API talks to MongoDB outside of the cluster
+ Describe KPIs for this application?
+ Describe how you would make this service multi region in AWS at a high level?
- What are the three types of observability data?
- How would you troubleshoot a k8s pod stuck in a crashloopbackoff state?
- How can you expose a k8s application publicly using AWS and EKS?
- How can you provide a file to a pod in k8s without building it into your application image?
- Describe some deployment strategies and how they differ?
+ Bonus: Which one is natively available in k8s?
- How would you structure a terraform repository?
- What is a terraform cycle error and how would you resolve it?
- What would cause a terraform state to be locked. How would you resolve a lock error?
- Describe the differences between the terraform count and for_each meta arguments?
+ Why would you use one over the other? (for_each limitation is input must be known values)
- How would you reference outputs from a different terraform state file?
- Given two strings of arbitrary length as input, S1 is capital letters. S2 is list of animals separated by spaces.
Describe an algorithm that will check for a pattern equivilancy between the strings.
Ex. S1="ABBA" S2="CAT DOG DOG CAT". Show that the pattern is equivilant.
+ "ABBA" = "CAT DOG DOG CAT" > true
+ "ABBA" = "CAT CAT DOG CAT" > false
+ "ABBBAA" = "CAT DOG DOG DOG CAT CAT" > true
+ "ABBZ" = "CAT DOG DOG ELEPHANT" > true
- Ever used declarative CI/CD (yaml)?
- On call experience? are you okay with being on call?
- Describe a recent incident or problem you needed to resolve and how you did so?
- Open the floor for their questions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment