試験AD0-E725 トピック2 問題12 スレッド

Adobe AD0-E725のリアル試験問題集
問題 #: 12
トピック #: 2
A Developer working on a Magento 2 store needs to modify the Content Security Policy (CSP) to allow loading of images from a trusted external domain while maintaining strict policies for other resources. To accomplish this, the csp_whitelist.xml file must be updated.
Which code snippet should the Developer use to update the CSP configuration?

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

To allow loading of external images, the policy that must be updated is img-src in the csp_whitelist.xml.
Option A (default-src) is too broad and not best practice.
Option C (media-src) applies only to audio/video sources, not images.
Thus, B is the correct solution.
Reference:
Adobe Commerce DevDocs - Content Security Policies

山田** 2025-09-06 07:18:26

コメント

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

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

弊社を連絡する

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

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

サポート:現在連絡