A00-215 Exam Question 131
You have a dataset with customer orders, and you need to analyze the order frequency of each customer. You decide to use PROC SORT to group orders by customer ID and then count the number of orders per customer. What additional step is required to make it easier to count the number of orders per customer after sorting?
A00-215 Exam Question 132
You have a SAS dataset called 'SALES' with the following variables: 'PRODUCT', 'SALES AMOUNT', 'SALES DATE'. You need to create a new dataset called 'SALES SUMMARY that only contains the 'PRODUCT' and 'SALES AMOUNT' variables, and filter the data to include only sales from the year 2023. Which of the following SAS code snippets would correctly accomplish this?
A00-215 Exam Question 133
You have a SAS dataset 'work.sales' with variables 'sales_amt', and 'product id'. You want to create a new dataset that summarizes total sales by 'product id'. Which of the following PROC steps would achieve this?
A00-215 Exam Question 134
You have a SAS report generated using ODS and want to create a PDF file with a specific page size (Letter) and orientation (Landscape). Which ODS destination option will allow you to achieve this?
A00-215 Exam Question 135
You have a CSV file named 'sales_data.csv' with the following structure: Product,Region,Sales Product A,North,1000 Product Product C,East,800 Product D,West, 1200 You need to import this data into a SAS dataset named 'SALES' with the following requirements: 1. The 'Sales' column should be converted to a numeric variable. 2. The 'Region' column should be treated as a character variable. 3. The 'Product' column should be the primary key. Which of the following PROC IMPORT statements would achieve this correctly?
