---
id: 67057604ca099f1e7df78e77
title: Task 47
challengeType: 19
dashedName: task-47
lang: en-US
---

<!-- READING -->

# --instructions--

Read the following text and answer the question below.

# --questions--

## --text--

This is James' email to his team.

`To: Team`

`Subject: Bug fixed. Database credentials updated`

`Hey team,`

`I found the bug from yesterday. First, I checked the recent code changes but didn't see anything. Then, I looked at the error logs and realized the system wasn't connecting to the database properly. We hadn't updated the credentials after the last security patch. I fixed the credentials, and the app is now running smoothly!`

`Best regards,`
`James`

When were the credentials updated last time?

## --answers--

Before the bug was found.

### --feedback--

The credentials weren't updated before the bug was found, which was actually the cause of the issue.

---

After the last security patch.

---

When the error logs were cleared.

### --feedback--

The error logs revealed the issue, but the credentials weren't updated when the logs were cleared.

---

During the last system backup.

### --feedback--

No mention of a system backup was made, so this doesn't apply to the situation.

## --video-solution--

2

# --explanation--

To find out when the credentials were updated, check the part where James explains why the app wasn't working. Focus on the sentence starting with, `We hadn't updated...`. 
