試験AD0-E717 トピック5 問題36 スレッド

Adobe AD0-E717のリアル試験問題集
問題 #: 36
トピック #: 5
Which log file would help a developer to investigate 503 errors caused by traffic or insufficient server resources on an Adobe Commerce Cloud project?

おすすめの解答:B 解答を投票する

Explanation
The access.log file stores the information about the requests and responses that occur on the web server, such as the IP address, timestamp, request URI, response code, and referer URL1. By checking the access.log file, a developer can identify the requests that resulted in 503 errors and the possible causes of those errors, such as traffic spikes, insufficient server resources, or misconfiguration1.
To check the access.log file on an Adobe Commerce Cloud project, a developer can use the following command in the CLI:
grep -r "\" 50 [0-9]" /path/to/access.log
This command will search for any lines in the access.log file that contain a response code starting with 50, which indicates a server error1. The developer can then compare the timestamps of those lines with the exception.log and error.log files to find more details about the errors1.
Alternatively, if the error has occurred in the past and the access.log file has been rotated (compressed and archived), the developer can use the following command in the CLI (Pro architecture only):
zgrep "\" 50 [0-9]" /path/to/access.log.<rotation ID>.gz
This command will search for any lines in the compressed access.log file that contain a response code starting with 501. The rotation ID is a number that indicates how many times the log file has been rotated. For example, access.log.1.gz is the most recent rotated log file, and access.log.10.gz is the oldest rotated log file1.

小友** 2024-01-19 05:28:58

コメント

正解:
?」こちらは投票コメントになっております。普通のコメントに切り替えます。
ニックネーム: 送信 キャンセル
投票コメントをあげるごとに、選択した解答の投票数を1つ増やすことができます。

他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡