This and more generally their thoughts on how to handle other types of unexpected scenarios is an important part of delivering real world solutions. I'm shocked by the amount of engineers that don't have any thoughts on this topic.
What you're digging for is about their experience. To me, what you're finding comes at no shock. The industry has been punishing people with experience and willing to show it for years.
The sentiment is important because it shows how a candidate ties the requirements to the customer use case that it is serving. Not being able to connect these two is a concern in my mind especially for those who are not new college hires with little real world experiemnce.
Are you suggesting we should only interview candidates to code the happy case and not consider how they will reason through what to do when the input isn't what they expected or a dependency fails to produce results?
In practice, I do not think candidates are hired for that skill. I have never been asked about error handling in an interview.
And I don't think an individual developer would have prevented this; this is an issue with the general security and monitoring policies at Parler. I mean how could they create millions of admin accounts and extract 70 TB of data without any alarm bells, flood control and circuit breakers engaging?