Response time is time taken to serve the request. Duration is time difference between earliest segment start time and last segment close time.
So, the duration may be higher than response time in a good case too. For eg; if you receive the request and you process it after you send handoff to the request.
In a bad case, you are not closing the segment and it is getting closed when the lambda is turned off.