A database administrator wants to remove inactive customers from a database. Which of the following statements should the administrator use?
Correct Answer: A
The statement that the administrator should use to remove inactive customers from a database is option A. This statement uses the DELETE command to delete all the rows from the customer table where the status column is equal to 'inactive'. The other options either have syntax errors, use incorrect commands, or do not specify the condition correctly.
Question 97
Which of the following is part of logical database infrastructure security?
Correct Answer: C
The option that is part of logical database infrastructure security is perimeter network. Perimeter network, also known as DMZ (Demilitarized Zone), is a network segment that lies between an internal network and an external network, such as the internet. Perimeter network provides an additional layer of security for the internal network by isolating and protecting the servers or services that are exposed to the external network, such as web servers, email servers, database servers, etc. Perimeter network also helps prevent unauthorized access or attacks from the external network to the internal network by using firewalls, routers, proxies, etc. The other options are either part of physical database infrastructure security or not related to database infrastructure security at all. For example, surveillance is a method of monitoring and recording physical activities or events in a location or resource; biometric access is a device that uses biological characteristics to control access to a physical location or resource; cooling system is a device or system that regulates the temperature and humidity of a location or resource. Reference: CompTIA DataSys+ Course Outline, Domain 4.0 Data and Database Security, Objective 4.1 Given a scenario, implement database infrastructure security.
Question 98
A DBA left the company, and the DBA's account was removed from the system. Soon after, scheduled jobs began failing. Which of the following would have most likely prevented this issue?
Correct Answer: C
The most likely way to prevent this issue is to use service accounts. Service accounts are special accounts that are used by applications or services to perform tasks or run jobs on behalf of users. Service accounts have limited permissions and access rights that are tailored to their specific functions. By using service accounts, the DBA can ensure that scheduled jobs can run independently of individual user accounts, and avoid failures due to account removal or changes. The other options are either not related or not effective for this issue. For example, load balancing is a technique that distributes the workload across multiple servers or resources to improve performance and availability; business continuity plan is a plan that outlines how an organization will continue its operations in the event of a disaster or disruption; assigning a data steward is a process that designates a person who is responsible for ensuring the quality and governance of data.
Question 99
Which of the following transactions is allowed in a shared lock?
Correct Answer: D
Question 100
Which of the following would a database administrator monitor to gauge server health? (Choose two.)
Correct Answer: A,B
The two factors that the database administrator should monitor to gauge server health are CPU usage and memory usage. CPU usage is the percentage of time that the processor (CPU) of the server is busy executing instructions or processes. CPU usage indicates how much workload the server can handle and how fast it can process requests. High CPU usage may affect the performance or availability of the server and cause delays or errors. Memory usage is the amount of physical memory (RAM) or virtual memory (swap space) that the server uses to store data or run applications. Memory usage indicates how much space the server has to store temporary or intermediate data or results. High memory usage may affect the performance or availability of the server and cause swapping or paging. The other options are either not relevant or not direct indicators of server health. For example, transaction logs are files that record the changes made by transactions on the database; network sniffer is a tool that captures and analyzes network traffic; domain controllers are servers that manage user authentication and authorization in a network; firewall traffic is the amount of data that passes through a firewall device or software. References: CompTIA DataSys+ Course Outline, Domain 3.0 Database Management and Maintenance, Objective 3.2 Given a scenario, monitor database performance.