試験CS0-003J トピック1 問題1 スレッド
CompTIA CS0-003Jのリアル試験問題集
問題 #: 1
トピック #: 1
問題 #: 1
トピック #: 1
Web アプリケーションには、内部 URL からコンテンツを取得して、ログ内の CSRF 攻撃を識別する機能があります。セキュリティ アナリストは、正しくフォーマットされたリクエストをフィルターする正規表現を作成しています。ターゲット URL は https://10.1.2.3/api で、受信 API は GET リクエストのみを受け入れ、「id」という名前の単一の整数引数を使用します。アナリストは、目的を達成するために次のどの正規表現を使用する必要がありますか。
おすすめの解答:B 解答を投票する
The correct regular expression to match a GET request to this API endpoint is "https://10\.1\.2\.3/api\?id=\d+".
This pattern checks for the specific URL with an id parameter that accepts integer values.
The syntax \d+ matches one or more digits, which aligns with the requirement for a single integer argument.
Other options either use incorrect syntax or do not accurately capture the expected URL format.
This pattern checks for the specific URL with an id parameter that accepts integer values.
The syntax \d+ matches one or more digits, which aligns with the requirement for a single integer argument.
Other options either use incorrect syntax or do not accurately capture the expected URL format.
风祭** 2026-04-26 10:12:05
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。