Amazon AWS Mock Interview

Master 28 Amazon AWS interview questions covering cloud architecture, system design, and the Leadership Principles.

Question 26 of 28

If hired here at Amazon AWS to develop iOS and Android software, when would you use a fragment rather than an activity?

  • How to Answer

  • Example Answer

  • Community Answers

Ryan Brunner
Ryan Brunner

Ryan Brunner has over ten years of experience recruiting, interviewing, and hiring candidates in the healthcare, public service, and private manufacturing/distribution industries.

In the development of apps for both iOS and Android, using code to create an activity versus a fragment is a highly debated topic to this day. For this question, your interviewer is looking to hear that you understand what the differences between the two are and when you feel that using a fragment is the proper direction to go. Make sure to speak to the high level overview of what an activity does to an app versus fragments.

Unlock All 28 Amazon AWS Questions

Unlock expert responses for technical and behavioral questions AWS interviewers prioritize.

Get Started