All challenges
Code AnalysisHard 60s

Which Failure Mode FMEA

Analyze the service call pseudo-code. What failure mode does FMEA most flag here?
Starter code
def get_profile(user_id):
    me = db_primary.read(user_id)          # no timeout set
    feed = http_get('/feed/' + user_id)    # no timeout set
    ads = http_get('/ads/' + user_id)      # no timeout set
    return merge(me, feed, ads)

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle