Aws engineer Interview Questions | Glassdoor

# Aws engineer Interview Questions

37

aws engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### DevOps Data Engineer (AWS) at Capital One was asked...

Mar 25, 2017
 Are you willing to work on 3AM Production Support without hesitation ?3 AnswersYesYeaYes

### Senior Mobile Software Engineer for AWS at Amazon was asked...

May 19, 2013
 Hardest Q was: Here's a binary tree: find the longest path within it. So, find a path between any two leaf nodes, where the path is the longest. 3 AnswersIndians at all companies always ask tree questions, it makes them giggle inside. I know, because I'm half indian and have interviewed people... tee hee heeclass Solution{ int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] < 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); }int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] < 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); } private int getHeight(TreeNode root) { // TODO Auto-generated method stub if(root == null) return 0; return Math.max(getHeight(root.left), getHeight(root.right))+1; }

### DevOps Engineer - AWS at NBCUniversal was asked...

Oct 2, 2018
 Code the FizzBuzz algorithm1 AnswerCreated an algorithm using if/else statements for returning either "fizz", "buzz" or "fizzbuzz".

### AWS Cloud Engineer at Strategic Solutions was asked...

Apr 5, 2019
 how do you build your stack from cloudformtion1 Answerhow do you orchestrate using kubenetes

### AWS Cloud Engineer at Amazon was asked...

Jan 10, 2018
 ssh port? how to delete a file in linux 1 AnswerUse rm and the name of the file

### AWS Technical E-Learning Curriculum Developer at Amazon was asked...

Mar 21, 2015
 Nothing really all that hard. I signed an NDA (Non-disclosure agreement) so I can not give specifics. I was well prepared and I also contacted the team member who I had a phone interview with, and asked if they could point me to some good resources to help prep for the interview and they gave me some very good ones which helped a lot. 1 Answer1. There is a massive attrition and a really high turn over rate. the longest tenured person I meet on the team had been there 2 years...out of a team of 50. (The lead developer I met with, had been there almost ten years but he was not on the team I was interviewing with.) 2. Great growth at AWS but massively under staffed which means they are not looking to do the "Sexy Stuff" just the good enough or sufficient stuff. This was said to me by many people. 3. Amazon's compensation is below par, especially given the work load. 4. Amazon's benefits are really sub-standard for the industry. 5. AWS is the biggest in the field but other companies are having much better growth and conversion rates so how long are they going to be the biggest? 6. While many people I met with are nice and would make adequate colleagues, some would be terrible. ( and most would not be there in a year or two given the turn over) 7. Amazon I found lacks the grown up nature and culture that is found at other companies like Microsoft which I have experience with and other tech 30 companies. 8. I also found a lack of cohesion that permeates Amazon. I heard from all of my interviewers that communication is appalling at Amazon in response to my question what are some of your biggest challenges. 9. AWS is a really cool product and service, but there is now massive competition in this space and again others are doing better in terms of growth and conversion rates so the future is unclear. Why I declined: 1, No manager, so I do not know who I will be working for or even if they would be a good manager. 2. the offer was 30 % lower with terrible benefits then what Microsoft offered with a much better professional environment and culture. 3. The last interviewer really turned me off.

Apr 27, 2017

Apr 4, 2018

### Sr. DevOps / AWS Engineer at Raytheon Technologies was asked...

Oct 21, 2020
 Are you over 30 years old?1 AnswerI stated that I was not, but had close to a decade of experience.

### AWS Cloud Engineer at Capital One was asked...

Sep 22, 2018
 Code the algorithm for figuring out an anagram between two strings1 Answerdef areAnagram(str1, str2): # Get lengths of both strings a1 = len(str1) a2 = len(str2) # If length of both strings is not same, then # they cannot be an anagram if a1 != a2: return 0 # Sort both strings str1 = sorted(str1) str2 = sorted(str2) # Compare sorted strings for i in range(0, a1): if str1[i] != str2[i]: return 0 return 1 # Driver program to test the above function str1 = "test" str2 = "test1" if areAnagram(str1, str2): print ("The two strings are anagram of each other") else: print ("The two strings are not anagram of each other")
110 of 37 Interview Questions

More