A00-215 Exam Question 121

You are working with a SAS dataset 'ORDERS' containing variables 'Order ID', 'Customer_lD', 'Product ID', 'Order _ Date', and 'Quantity'. You want to create a new dataset 'Active Orders' containing only orders placed in the current month, filtering out all other orders, and retaining all variables. Which code snippet will achieve this correctly?
  • A00-215 Exam Question 122

    You have a SAS dataset called 'CUSTOMERS' with variables: 'CustomerlD', 'Name', 'City', 'State', 'Zip', 'Phone', 'Email'. You want to create a new dataset called 'CUSTOMER INFO' containing only the variables 'Name', 'City', and 'Email', but you also need to remove duplicate records based on the 'CustomerlD' variable. Which code snippet correctly accomplishes this?
  • A00-215 Exam Question 123

    You have a SAS dataset called 'EMPLOYEES' with variables 'EMPLOYEE ID', 'FIRST NAME', 'LAST NAME', 'DEPARTMENT', 'SALARY, 'HIRE DATE'. You need to create a new dataset called 'EMPLOYEES HIGH SALARY' containing only employees with salaries greater than $100,000, and you want to rename the 'SALARY' variable to 'HIGH SALARY'. Which code snippet correctly achieves this?
  • A00-215 Exam Question 124

    You have a SAS dataset called 'SALES' with variables 'Region', 'Product', 'Sales', 'Quantity', and 'Date'. You want to create a new dataset called 'Top_Sales' containing only the 'Region', 'Product', and 'Sales' variables for the top 10 regions with the highest total sales. Which code snippet would achieve this correctly?
  • A00-215 Exam Question 125

    You are tasked with analyzing customer data, specifically identifying customers who have made more than 3 purchases in the last 6 months. You need to use the OUTPUT statement to create a new dataset containing only these high-frequency customers. Which code snippet would you use to achieve this?