← Quiz: AI Coding Risks: all 10 questions
Quiz: AI Coding Risks · Question 3 of 10
An AI suggests requests.get(url, verify=False) to fix an SSL error. What should you do?
An AI suggests requests.get(url, verify=False) to fix an SSL error. What should you do?
- A.Accept it
- B.Reject it and fix the certificate or CA configuration instead
- C.Use it only in production
- D.Add shell=True as well
Answer & explanation
Correct answer: Reject it and fix the certificate or CA configuration instead
verify=False disables certificate checks and allows man-in-the-middle attacks.
Can you get the rest right without peeking?
Take the timed Quiz: AI Coding Risks quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →